From bd67ee9852b885108670febb617b72311fd81e0c Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sun, 19 Jun 2011 21:43:34 -0400 Subject: [PATCH] inorder: assert on macro-ops provide a sanity check for someone coding a new architecture --- src/cpu/inorder/resources/decode_unit.cc | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.30.2