ARM: Fix IT state not updating when an instruction memory instruction faults.
This commit is contained in:
@@ -342,6 +342,8 @@ def template LoadInitiateAcc {{
|
||||
if (fault == NoFault) {
|
||||
fault = xc->read(EA, (uint%(mem_acc_size)d_t &)Mem, memAccessFlags);
|
||||
}
|
||||
} else if (fault == NoFault && machInst.itstateMask != 0) {
|
||||
xc->setMiscReg(MISCREG_ITSTATE, machInst.newItstate);
|
||||
}
|
||||
|
||||
return fault;
|
||||
|
||||
Reference in New Issue
Block a user