qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [Qemu-devel] [PATCH v2 30/32] arm/translate-a64: add all


From: Richard Henderson
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH v2 30/32] arm/translate-a64: add all FP16 ops in simd_scalar_pairwise
Date: Fri, 9 Feb 2018 10:27:09 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 02/08/2018 09:31 AM, Alex Bennée wrote:
>      case 0x2f: /* FMINP */
> -        /* FP op, size[0] is 32 or 64 bit */
> +        /* FP op, size[0] is 32 or 64 bit*/

If you're going to frob the whitespace, you might as well update to include the
fact that it can be 16 bit too...

>          if (!u) {
> -            unallocated_encoding(s);
> -            return;
> +            if (!arm_dc_feature(s, ARM_FEATURE_V8_FP16)) {
> +                unallocated_encoding(s);
> +                return;
> +            } else {
> +                size = MO_16;
> +            }
> +        } else {
> +            size = extract32(size, 0, 1) ? MO_64 : MO_32;
>          }

Otherwise,

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

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