[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH 06/42] target/arm: Convert the VSEL instructions t
From: |
Richard Henderson |
Subject: |
Re: [Qemu-arm] [PATCH 06/42] target/arm: Convert the VSEL instructions to decodetree |
Date: |
Fri, 7 Jun 2019 09:54:39 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 6/6/19 12:45 PM, Peter Maydell wrote:
> Convert the VSEL instructions to decodetree.
> We leave trans_VSEL() in translate.c for now as this allows
> the patch to show just the changes from the old handle_vsel().
>
> In the old code the check for "do D16-D31 exist" was hidden in
> the VFP_DREG macro, and assumed that VFPv3 always implied that
> D16-D31 exist. In the new code we do the correct ID register test.
> This gives identical behaviour for most of our CPUs, and fixes
> previously incorrect handling for Cortex-R5F, Cortex-M4 and
> Cortex-M33, which all implement VFPv3 or better with only 16
> double-precision registers.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> target/arm/cpu.h | 6 ++++++
> target/arm/translate-vfp.inc.c | 9 +++++++++
> target/arm/translate.c | 35 ++++++++++++++++++++++++----------
> target/arm/vfp-uncond.decode | 19 ++++++++++++++++++
> 4 files changed, 59 insertions(+), 10 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [Qemu-arm] [PATCH 00/42] target/arm: Convert VFP decoder to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 04/42] target/arm: Fix Cortex-R5F MVFR values, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 06/42] target/arm: Convert the VSEL instructions to decodetree, Peter Maydell, 2019/06/06
- Re: [Qemu-arm] [PATCH 06/42] target/arm: Convert the VSEL instructions to decodetree,
Richard Henderson <=
- [Qemu-arm] [PATCH 10/42] target/arm: Move the VFP trans_* functions to translate-vfp.inc.c, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 01/42] decodetree: Fix comparison of Field, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 38/42] target/arm: Convert integer-to-float insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 37/42] target/arm: Convert double-single precision conversion insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 20/42] target/arm: Convert VFP VNMLS to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 40/42] target/arm: Convert VCVT fp/fixed-point conversion insns to decodetree, Peter Maydell, 2019/06/06