Re: [PATCH] fpu: Process float_muladd_negate_result after rounding

2025-05-07 Thread Philippe Mathieu-Daudé
On 7/5/25 16:50, Richard Henderson wrote: Changing the sign before rounding affects the correctness of the asymmetric rouding modes: float_round_up and float_round_down. Reported-by: WANG Rui Signed-off-by: Richard Henderson --- fpu/softfloat.c | 54 ++

[PATCH] fpu: Process float_muladd_negate_result after rounding

2025-05-07 Thread Richard Henderson
Changing the sign before rounding affects the correctness of the asymmetric rouding modes: float_round_up and float_round_down. Reported-by: WANG Rui Signed-off-by: Richard Henderson --- fpu/softfloat.c | 54 +++-- tests/tcg/multiarch/fnmsub.c