qemu-arm
[Top][All Lists]
Advanced

[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~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]