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 <wang...@loongson.cn>
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  fpu/softfloat.c                     | 54 +++++++++++++++++++++++------
  tests/tcg/multiarch/fnmsub.c        | 36 +++++++++++++++++++
  fpu/softfloat-parts.c.inc           |  4 ---
  tests/tcg/multiarch/Makefile.target |  1 +
  4 files changed, 81 insertions(+), 14 deletions(-)
  create mode 100644 tests/tcg/multiarch/fnmsub.c

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to