mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-23 06:25:12 +00:00
target/arm: Set ISSIs16Bit in make_issinfo
During the conversion to decodetree, the setting of ISSIs16Bit got lost. This causes the guest os to incorrectly adjust trapping memory operations. Backports commit 1a1fbc6cbb34c26d43d8360c66c1d21681af14a9 from qemu
This commit is contained in:
parent
c9aadd696f
commit
dc9733e555
|
@ -8819,6 +8819,9 @@ static ISSInfo make_issinfo(DisasContext *s, int rd, bool p, bool w)
|
|||
/* ISS not valid if writeback */
|
||||
if (p && !w) {
|
||||
ret = rd;
|
||||
if (s->base.pc_next - s->pc_curr == 2) {
|
||||
ret |= ISSIs16Bit;
|
||||
}
|
||||
} else {
|
||||
ret = ISSInvalid;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue