From: Korey Sewell Date: Mon, 20 Jun 2011 01:43:34 +0000 (-0400) Subject: inorder: assert on macro-ops X-Git-Tag: stable_2012_02_02~259 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd67ee9852b885108670febb617b72311fd81e0c;p=gem5.git inorder: assert on macro-ops provide a sanity check for someone coding a new architecture --- diff --git a/src/cpu/inorder/resources/decode_unit.cc b/src/cpu/inorder/resources/decode_unit.cc index ccebddfaf..b791253b2 100644 --- a/src/cpu/inorder/resources/decode_unit.cc +++ b/src/cpu/inorder/resources/decode_unit.cc @@ -60,6 +60,8 @@ DecodeUnit::execute(int slot_num) { case DecodeInst: { + assert(!inst->staticInst->isMacroop()); + inst->setBackSked(cpu->createBackEndSked(inst)); if (inst->backSked != NULL) {