Skip to content

target/s390x: Fix the floating-point multiply-and-add NaN rules

Ilya Leoshkevich qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/s390x: Fix the floating-point multiply-and-add NaN rulesfpu/softfloat-specialize.c.inc target/s390x/tcg/fpu_helper.c target/s390x/tcg/vec_fpu_helper.c+29 -101 reply
2/2tests/tcg/s390x: Add the floating-point multiply-and-add testtests/tcg/s390x/Makefile.target tests/tcg/s390x/float.h tests/tcg/s390x/fma.c +1 more+420 -1451 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Maydell
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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
Signature · 1 line
2.47.0