ARM: Make Noop actually decode to a noop and set it's instflags.
This commit is contained in:
parent
68bd80794c
commit
805ad4ba41
2 changed files with 3 additions and 2 deletions
|
@ -477,7 +477,8 @@ let {{
|
||||||
exec_output += BasicExecute.subst(bkptIop)
|
exec_output += BasicExecute.subst(bkptIop)
|
||||||
|
|
||||||
nopIop = InstObjParams("nop", "NopInst", "PredOp", \
|
nopIop = InstObjParams("nop", "NopInst", "PredOp", \
|
||||||
{ "code" : "", "predicate_test" : predicateTest })
|
{ "code" : "", "predicate_test" : predicateTest },
|
||||||
|
['IsNop'])
|
||||||
header_output += BasicDeclare.subst(nopIop)
|
header_output += BasicDeclare.subst(nopIop)
|
||||||
decoder_output += BasicConstructor.subst(nopIop)
|
decoder_output += BasicConstructor.subst(nopIop)
|
||||||
exec_output += PredOpExecute.subst(nopIop)
|
exec_output += PredOpExecute.subst(nopIop)
|
||||||
|
|
|
@ -97,7 +97,7 @@ namespace ArmISA
|
||||||
const Addr PAddrImplMask = (ULL(1) << PABits) - 1;
|
const Addr PAddrImplMask = (ULL(1) << PABits) - 1;
|
||||||
|
|
||||||
// return a no-op instruction... used for instruction fetch faults
|
// 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 LogVMPageSize = 12; // 4K bytes
|
||||||
const int VMPageSize = (1 << LogVMPageSize);
|
const int VMPageSize = (1 << LogVMPageSize);
|
||||||
|
|
Loading…
Reference in a new issue