diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-09-03 17:22:16 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-09-05 13:12:36 +0100 |
commit | 0e1850182a1faae23fcafc069a0af929930b20bb (patch) | |
tree | 27d3a7bd149f2da312f8a7e0b39785ff21153dcd /hw/m68k/next-cube.c | |
parent | 09b0d9e0ad24e875c006e024e184be8b79d2ad11 (diff) | |
download | qemu-0e1850182a1faae23fcafc069a0af929930b20bb.zip qemu-0e1850182a1faae23fcafc069a0af929930b20bb.tar.gz qemu-0e1850182a1faae23fcafc069a0af929930b20bb.tar.bz2 |
target/arm: Implement FPCR.EBF=1 semantics for bfdotadd()
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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/m68k/next-cube.c')
0 files changed, 0 insertions, 0 deletions