[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/36] target/arm: Don't allow Thumb Neon insns without FEATU
From: |
Richard Henderson |
Subject: |
Re: [PATCH 02/36] target/arm: Don't allow Thumb Neon insns without FEATURE_NEON |
Date: |
Thu, 30 Apr 2020 11:22:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 4/30/20 11:09 AM, Peter Maydell wrote:
> We were accidentally permitting decode of Thumb Neon insns even if
> the CPU didn't have the FEATURE_NEON bit set, because the feature
> check was being done before the call to disas_neon_data_insn() and
> disas_neon_ls_insn() in the Arm decoder but was omitted from the
> Thumb decoder. Push the feature bit check down into the called
> functions so it is done for both Arm and Thumb encodings.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> target/arm/translate.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [PATCH 00/36] target/arm: Convert Neon to decodetree (part 1), Peter Maydell, 2020/04/30
- [PATCH 01/36] target/arm/translate-vfp.inc.c: Remove duplicate simd_r32 check, Peter Maydell, 2020/04/30
- [PATCH 04/36] target/arm: Convert VCMLA (vector) to decodetree, Peter Maydell, 2020/04/30
- [PATCH 02/36] target/arm: Don't allow Thumb Neon insns without FEATURE_NEON, Peter Maydell, 2020/04/30
- Re: [PATCH 02/36] target/arm: Don't allow Thumb Neon insns without FEATURE_NEON,
Richard Henderson <=
- [PATCH 05/36] target/arm: Convert VCADD (vector) to decodetree, Peter Maydell, 2020/04/30
- [PATCH 03/36] target/arm: Add stubs for AArch32 Neon decodetree, Peter Maydell, 2020/04/30
- [PATCH 06/36] target/arm: Convert V[US]DOT (vector) to decodetree, Peter Maydell, 2020/04/30
- [PATCH 09/36] target/arm: Convert V[US]DOT (scalar) to decodetree, Peter Maydell, 2020/04/30
- [PATCH 08/36] target/arm: Convert VCMLA (scalar) to decodetree, Peter Maydell, 2020/04/30