ARM: Make Noop actually decode to a noop and set it's instflags.
authorAli Saidi <Ali.Saidi@ARM.com>
Wed, 23 Feb 2011 21:10:49 +0000 (15:10 -0600)
committerAli Saidi <Ali.Saidi@ARM.com>
Wed, 23 Feb 2011 21:10:49 +0000 (15:10 -0600)
src/arch/arm/isa/insts/misc.isa
src/arch/arm/isa_traits.hh

index dc7a71c0f34cc3461db9b8dcdcd11c318abd0530..ad5021daf9ad14a6d9bf1254faf4ee7ba254ac7d 100644 (file)
@@ -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)
index c3cb622f42f4c01482fef7c84351dd5f8094bad0..c89c9abce573c12bea7f623f953083e89ae46a41 100644 (file)
@@ -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);