unicorn/qemu/target
Peter Maydell 075bac4d57
target/arm: Get IL bit correct for v7 syndrome values
For the v7 version of the Arm architecture, the IL bit in
syndrome register values where the field is not valid was
defined to be UNK/SBZP. In v8 this is RES1, which is what
QEMU currently implements. Handle the desired v7 behaviour
by squashing the IL bit for the affected cases:
* EC == EC_UNCATEGORIZED
* prefetch aborts
* data aborts where ISV is 0

(The fourth case listed in the v8 Arm ARM DDI 0487C.a in
section G7.2.70, "illegal state exception", can't happen
on a v7 CPU.)

This deals with a corner case noted in a comment.

Backports commit 2ed08180db096ea5e44573529b85e09b1ed10b08 from qemu
2018-11-10 09:29:13 -05:00
..
arm target/arm: Get IL bit correct for v7 syndrome values 2018-11-10 09:29:13 -05:00
i386 target/i386: Convert to HAVE_CMPXCHG128 2018-10-23 15:21:03 -04:00
m68k Removes accessible assert 2018-10-06 05:02:20 -04:00
mips target/mips: Add opcodes for nanoMIPS EVA instructions 2018-10-23 14:33:08 -04:00
sparc Sparc increase ttl number 2018-10-06 04:55:52 -04:00