From: Ali Saidi Date: Wed, 23 Feb 2011 21:10:49 +0000 (-0600) Subject: ARM: Make Noop actually decode to a noop and set it's instflags. X-Git-Tag: stable_2012_02_02~541 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=805ad4ba411100123273fad1064362284d4de344;p=gem5.git ARM: Make Noop actually decode to a noop and set it's instflags. --- diff --git a/src/arch/arm/isa/insts/misc.isa b/src/arch/arm/isa/insts/misc.isa index dc7a71c0f..ad5021daf 100644 --- a/src/arch/arm/isa/insts/misc.isa +++ b/src/arch/arm/isa/insts/misc.isa @@ -477,7 +477,8 @@ let {{ exec_output += BasicExecute.subst(bkptIop) nopIop = InstObjParams("nop", "NopInst", "PredOp", \ - { "code" : "", "predicate_test" : predicateTest }) + { "code" : "", "predicate_test" : predicateTest }, + ['IsNop']) header_output += BasicDeclare.subst(nopIop) decoder_output += BasicConstructor.subst(nopIop) exec_output += PredOpExecute.subst(nopIop) diff --git a/src/arch/arm/isa_traits.hh b/src/arch/arm/isa_traits.hh index c3cb622f4..c89c9abce 100644 --- a/src/arch/arm/isa_traits.hh +++ b/src/arch/arm/isa_traits.hh @@ -97,7 +97,7 @@ namespace ArmISA const Addr PAddrImplMask = (ULL(1) << PABits) - 1; // return a no-op instruction... used for instruction fetch faults - const ExtMachInst NoopMachInst = 0xE320F000; + const ExtMachInst NoopMachInst = 0x01E320F000ULL; const int LogVMPageSize = 12; // 4K bytes const int VMPageSize = (1 << LogVMPageSize);