[PATCH 0/3] target/arm: UNDEF various things for pre-v6T2

Peter Maydell posted 3 patches 7 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260821132550.168896-1-peter.maydell@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/t16.decode  |  3 +++
target/arm/tcg/translate.c | 37 ++++++++++++++++++++++++++++++++++++-
2 files changed, 39 insertions(+), 1 deletion(-)
[PATCH 0/3] target/arm: UNDEF various things for pre-v6T2
Posted by Peter Maydell 7 hours ago
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