inorder: assert on macro-ops
authorKorey Sewell <ksewell@umich.edu>
Mon, 20 Jun 2011 01:43:34 +0000 (21:43 -0400)
committerKorey Sewell <ksewell@umich.edu>
Mon, 20 Jun 2011 01:43:34 +0000 (21:43 -0400)
provide a sanity check for someone coding
a new architecture

src/cpu/inorder/resources/decode_unit.cc

index ccebddfafcc48f620c1b876327e4926692de8507..b791253b25aadfb9977f62ba4f7681868c371e6d 100644 (file)
@@ -60,6 +60,8 @@ DecodeUnit::execute(int slot_num)
     {
       case DecodeInst:
         {
+            assert(!inst->staticInst->isMacroop());
+
             inst->setBackSked(cpu->createBackEndSked(inst));
 
             if (inst->backSked != NULL) {