changeset fc44dde6bbc9 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=fc44dde6bbc9
description:
inorder: assert on macro-ops
provide a sanity check for someone coding
a new architecture
diffstat:
src/cpu/inorder/resources/decode_unit.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 715806745e00 -r fc44dde6bbc9 src/cpu/inorder/resources/decode_unit.cc
--- a/src/cpu/inorder/resources/decode_unit.cc Sun Jun 19 21:43:34 2011 -0400
+++ b/src/cpu/inorder/resources/decode_unit.cc Sun Jun 19 21:43:34 2011 -0400
@@ -60,6 +60,8 @@
{
case DecodeInst:
{
+ assert(!inst->staticInst->isMacroop());
+
inst->setBackSked(cpu->createBackEndSked(inst));
if (inst->backSked != NULL) {
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev