We were missing feature checks for various parts of the 16-bit Thumb
encoding space, with the result that we didn't UNDEF when we should
for these on pre-v6T2 CPUs:
* CBZ/CBNZ
* IT
* the "hint space" (which doesn't become NOPs until v6T2)
This patchset fixes up those mistakes so we UNDEF when the hardware
does. M-profile makes this a little more complicated, so the
precise test is different in the three cases.
thanks
-- PMM
Peter Maydell (3):
target/arm: Make CBZ/CBNZ UNDEF before v6T2
target/arm: Make IT insn undef when not present
target/arm: Make Thumb T1 hint space UNDEF before v6T2
target/arm/tcg/t16.decode | 3 +++
target/arm/tcg/translate.c | 37 ++++++++++++++++++++++++++++++++++++-
2 files changed, 39 insertions(+), 1 deletion(-)
--
2.43.0