summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resources/decode_unit.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:34 -0400
committerKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:34 -0400
commitbd67ee9852b885108670febb617b72311fd81e0c (patch)
treeb11a358f5e85878a6824e82fdd1603c9c8fb283d /src/cpu/inorder/resources/decode_unit.cc
parentee7062d94d8216fbb1d279de1a6967381ef366d4 (diff)
downloadgem5-bd67ee9852b885108670febb617b72311fd81e0c.tar.xz
inorder: assert on macro-ops
provide a sanity check for someone coding a new architecture
Diffstat (limited to 'src/cpu/inorder/resources/decode_unit.cc')
-rw-r--r--src/cpu/inorder/resources/decode_unit.cc2
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) {