[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-ppc
Subject: Re: [RFC PATCH 5/7] target/ppc: Implemented xvf16ger*
From: Richard Henderson <richard.henderson () linaro ! org>
Date: 2022-04-27 22:30:36
Message-ID: d330b650-1886-cacf-61b6-f829876f9614 () linaro ! org
[Download RAW message or body]
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~
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic