qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH RFC] target/arm: Implement SVE2 fp multiply-add long


From: Richard Henderson
Subject: Re: [PATCH RFC] target/arm: Implement SVE2 fp multiply-add long
Date: Mon, 4 May 2020 09:33:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 5/4/20 8:43 AM, Stephen Long wrote:
> +    for (i = 0; i < opr_sz; i += sizeof(float32)) {
> +        float32 nn = *(float16 *)(vn + H1_2(i + sel1));
> +        float32 mm = *(float16 *)(vm + H1_2(i + sel1));

For integers we could rely on C types for the extension.
For floating point, you need to call float16_to_float32 here.


r~



reply via email to

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