qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 7/8] target/arm: Implement FPCR.EBF=1 semantics for bfdotadd(


From: Richard Henderson
Subject: Re: [PATCH 7/8] target/arm: Implement FPCR.EBF=1 semantics for bfdotadd()
Date: Wed, 31 Jul 2024 11:50:22 +1000
User-agent: Mozilla Thunderbird

On 7/31/24 02:03, Peter Maydell wrote:
Implement the FPCR.EBF=1 semantics for bfdotadd() operations:
  * is_ebf() sets up fpst and fpst_odd
  * bfdotadd_ebf() implements the fused paired-multiply-and-add
    operation that we need

The paired-multiply-and-add is similar to f16_dotadd() and
we use the same trick here as in that function, but the inputs
here are bfloat16 rather than float16.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/tcg/vec_helper.c | 57 +++++++++++++++++++++++++++++++++++--
  1 file changed, 54 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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