qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 5/7] target/ppc: Implemented xvf16ger*


From: Richard Henderson
Subject: Re: [RFC PATCH 5/7] target/ppc: Implemented xvf16ger*
Date: Wed, 27 Apr 2022 15:30:36 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 4/27/22 14:11, Lucas Mateus Martins Araujo e Castro wrote:
Please do convert this from a macro.  Given that float16 and bfloat16 are 
addressed the
same, I think the only callback you need is the conversion from 
float16_to_float64.  Drop
the bf16 accessor to ppc_vsr_t.

Will do, although I'm considering instead of the callback being the conversion, maybe have it be a 4 float multiplication
     typedef float32 mul_4float(float16, float16, float16, float16);
Since float16 and bfloat16 are addressed the same, any thoughts?

The multiplication would be identical for the two types -- only the conversion 
is different.


r~



reply via email to

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