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~