ARM: Make Noop actually decode to a noop and set it's instflags.

This commit is contained in:
Ali Saidi 2011-02-23 15:10:49 -06:00
parent 68bd80794c
commit 805ad4ba41
2 changed files with 3 additions and 2 deletions

View 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)

View 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);