ARM: Fix IT state not updating when an instruction memory instruction faults.
This commit is contained in:
parent
4325519fc5
commit
5d5bf8cbc7
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue