diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:34 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:34 -0400 |
commit | bd67ee9852b885108670febb617b72311fd81e0c (patch) | |
tree | b11a358f5e85878a6824e82fdd1603c9c8fb283d | |
parent | ee7062d94d8216fbb1d279de1a6967381ef366d4 (diff) | |
download | gem5-bd67ee9852b885108670febb617b72311fd81e0c.tar.xz |
inorder: assert on macro-ops
provide a sanity check for someone coding
a new architecture
-rw-r--r-- | src/cpu/inorder/resources/decode_unit.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |