qemu-s390x
[Top][All Lists]
Advanced

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

[PATCH 0/2] target/s390x: Fix the floating-point multiply-and-add NaN ru


From: Ilya Leoshkevich
Subject: [PATCH 0/2] target/s390x: Fix the floating-point multiply-and-add NaN rules
Date: Wed, 23 Oct 2024 01:59:17 +0200

Hi,

Peter reported on IRC that FMA NaN handling was likely broken on s390x.
Patch 1 of this series fixes the issue, patch 2 adds a test. For the
sake of readability, the test sacrifices the 90-character line length
rule.

Best regards,
Ilya

Ilya Leoshkevich (2):
  target/s390x: Fix the floating-point multiply-and-add NaN rules
  tests/tcg/s390x: Add the floating-point multiply-and-add test

 fpu/softfloat-specialize.c.inc    |  19 +++
 target/s390x/tcg/fpu_helper.c     |   8 +-
 target/s390x/tcg/vec_fpu_helper.c |  12 +-
 tests/tcg/s390x/Makefile.target   |   5 +-
 tests/tcg/s390x/float.h           | 104 +++++++++++++
 tests/tcg/s390x/fma.c             | 233 ++++++++++++++++++++++++++++++
 tests/tcg/s390x/vfminmax.c        | 223 ++++++++++------------------
 7 files changed, 449 insertions(+), 155 deletions(-)
 create mode 100644 tests/tcg/s390x/float.h
 create mode 100644 tests/tcg/s390x/fma.c

-- 
2.47.0




reply via email to

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