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

Peter Maydell <[email protected]>
Newsgroups org.nongnu.qemu-arm,org.nongnu.qemu-devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.