Re: [PATCH 1/3] target/arm: Make CBZ/CBNZ UNDEF before v6T2
Richard Henderson <[email protected]>
| Newsgroups | org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/21/26 06:25, Peter Maydell wrote: > The Thumb CBZ/CBNZ encodings are only introduced in v6T2 (for > A-profile) and v7M (for M-profile). We missed out the feature-check > in trans_CBZ(), so don't UNDEF on v5T or v6M. Add the missing check: > conveniently, the ARM_FEATURE_THUMB2 feature is true for exactly the > cases where CBZ is implemented. > > Cc:[email protected] > Fixes: 9ee6e8bb853bde ("ARMv7 support.") > Signed-off-by: Peter Maydell<[email protected]> > --- > target/arm/tcg/translate.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) Reviewed-by: Richard Henderson <[email protected]> r~