]> git.ipfire.org Git - thirdparty/qemu.git/commit
fpu: Process float_muladd_negate_result after rounding
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 6 May 2025 19:25:54 +0000 (19:25 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 10 Jul 2025 17:53:10 +0000 (11:53 -0600)
commitabbeb42c1762a529cfbae52845c279b648a7acb4
tree8b742d60b1efa1b55c0d0e3f4350f10beb8e56ae
parentdf6fe2abf2e990f767ce755d426bc439c7bba336
fpu: Process float_muladd_negate_result after rounding

Changing the sign before rounding affects the correctness of
the asymmetric rouding modes: float_round_up and float_round_down.

Reported-by: WANG Rui <wangrui@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
fpu/softfloat-parts.c.inc
fpu/softfloat.c
tests/tcg/multiarch/Makefile.target
tests/tcg/multiarch/fnmsub.c [new file with mode: 0644]