[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/42] target/arm: Convert the VSEL instructions
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [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~
- Re: [Qemu-devel] [PATCH 20/42] target/arm: Convert VFP VNMLS to decodetree, (continued)
- [Qemu-devel] [PATCH 36/42] target/arm: Convert VFP round insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-devel] [PATCH 33/42] target/arm: Convert VFP comparison insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-devel] [PATCH 25/42] target/arm: Convert VSUB to decodetree, Peter Maydell, 2019/06/06
- [Qemu-devel] [PATCH 37/42] target/arm: Convert double-single precision conversion insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-devel] [PATCH 06/42] target/arm: Convert the VSEL instructions to decodetree, Peter Maydell, 2019/06/06
- Re: [Qemu-devel] [PATCH 06/42] target/arm: Convert the VSEL instructions to decodetree,
Richard Henderson <=
- [Qemu-devel] [PATCH 34/42] target/arm: Convert the VCVT-from-f16 insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-devel] [PATCH 07/42] target/arm: Convert VMINNM, VMAXNM to decodetree, Peter Maydell, 2019/06/06
- [Qemu-devel] [PATCH 39/42] target/arm: Convert VJCVT to decodetree, Peter Maydell, 2019/06/06
- [Qemu-devel] [PATCH 32/42] target/arm: Convert VMOV (register) to decodetree, Peter Maydell, 2019/06/06
- [Qemu-devel] [PATCH 35/42] target/arm: Convert the VCVT-to-f16 insns to decodetree, Peter Maydell, 2019/06/06