[PATCH 00/14] target/s390x: Miscellaneous TCG fixes, part 2

Ilya Leoshkevich posted 14 patches 9 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230718213531.117976-1-iii@linux.ibm.com
Maintainers: Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Thomas Huth <thuth@redhat.com>
There is a newer version of this series
target/s390x/tcg/excp_helper.c          |  2 +-
target/s390x/tcg/fpu_helper.c           |  3 +-
target/s390x/tcg/mem_helper.c           |  5 +++
target/s390x/tcg/translate.c            | 21 ++++++++--
target/s390x/tcg/vec_fpu_helper.c       | 24 +++++++----
tcg/i386/tcg-target-con-set.h           |  2 +-
tcg/i386/tcg-target.c.inc               |  2 +-
tcg/s390x/tcg-target-con-set.h          |  5 +--
tcg/s390x/tcg-target.c.inc              |  4 +-
tcg/tcg.c                               |  8 +++-
tests/tcg/s390x/Makefile.softmmu-target |  5 +++
tests/tcg/s390x/Makefile.target         |  6 +++
tests/tcg/s390x/cgebra.c                | 32 ++++++++++++++
tests/tcg/s390x/cksm.S                  | 29 +++++++++++++
tests/tcg/s390x/clgebr.c                | 32 ++++++++++++++
tests/tcg/s390x/clm.S                   | 29 +++++++++++++
tests/tcg/s390x/icm.S                   | 32 ++++++++++++++
tests/tcg/s390x/mc.S                    | 56 +++++++++++++++++++++++++
tests/tcg/s390x/stpq.S                  | 20 +++++++++
tests/tcg/s390x/vcksm.c                 | 31 ++++++++++++++
tests/tcg/s390x/vx.h                    |  2 +
21 files changed, 327 insertions(+), 23 deletions(-)
create mode 100644 tests/tcg/s390x/cgebra.c
create mode 100644 tests/tcg/s390x/cksm.S
create mode 100644 tests/tcg/s390x/clgebr.c
create mode 100644 tests/tcg/s390x/clm.S
create mode 100644 tests/tcg/s390x/icm.S
create mode 100644 tests/tcg/s390x/mc.S
create mode 100644 tests/tcg/s390x/stpq.S
create mode 100644 tests/tcg/s390x/vcksm.c
[PATCH 00/14] target/s390x: Miscellaneous TCG fixes, part 2
Posted by Ilya Leoshkevich 9 months, 2 weeks ago
Hi,

Here is another set of fixes for issues found by randomized testing.

Most of them have to do with simple insufficient error handling or
corner cases, but 3/14 and 6/14 took a while to figure out, and
hopefully I got the fixes right. 13/14 is a test for an issue that
Richard has already fixed, but I thought it would be helpful to have it
anyway.

Best regards,
Ilya

Ilya Leoshkevich (14):
  target/s390x: Make CKSM raise an exception if R2 is odd
  target/s390x: Fix CLM with M3=0
  target/s390x: Fix CONVERT TO LOGICAL/FIXED with out-of-range inputs
  target/s390x: Fix ICM with M3=0
  target/s390x: Make MC raise specification exception when class >= 16
  tcg/{i386,s390x}: Add earlyclobber to the op_add2's first output
  target/s390x: Fix assertion failure in VFMIN/VFMAX with reserved type
  tests/tcg/s390x: Test CKSM
  tests/tcg/s390x: Test CLGEBR and CGEBRA
  tests/tcg/s390x: Test CLM
  tests/tcg/s390x: Test ICM
  tests/tcg/s390x: Test MC
  tests/tcg/s390x: Test STPQ
  tests/tcg/s390x: Test VCKSM

 target/s390x/tcg/excp_helper.c          |  2 +-
 target/s390x/tcg/fpu_helper.c           |  3 +-
 target/s390x/tcg/mem_helper.c           |  5 +++
 target/s390x/tcg/translate.c            | 21 ++++++++--
 target/s390x/tcg/vec_fpu_helper.c       | 24 +++++++----
 tcg/i386/tcg-target-con-set.h           |  2 +-
 tcg/i386/tcg-target.c.inc               |  2 +-
 tcg/s390x/tcg-target-con-set.h          |  5 +--
 tcg/s390x/tcg-target.c.inc              |  4 +-
 tcg/tcg.c                               |  8 +++-
 tests/tcg/s390x/Makefile.softmmu-target |  5 +++
 tests/tcg/s390x/Makefile.target         |  6 +++
 tests/tcg/s390x/cgebra.c                | 32 ++++++++++++++
 tests/tcg/s390x/cksm.S                  | 29 +++++++++++++
 tests/tcg/s390x/clgebr.c                | 32 ++++++++++++++
 tests/tcg/s390x/clm.S                   | 29 +++++++++++++
 tests/tcg/s390x/icm.S                   | 32 ++++++++++++++
 tests/tcg/s390x/mc.S                    | 56 +++++++++++++++++++++++++
 tests/tcg/s390x/stpq.S                  | 20 +++++++++
 tests/tcg/s390x/vcksm.c                 | 31 ++++++++++++++
 tests/tcg/s390x/vx.h                    |  2 +
 21 files changed, 327 insertions(+), 23 deletions(-)
 create mode 100644 tests/tcg/s390x/cgebra.c
 create mode 100644 tests/tcg/s390x/cksm.S
 create mode 100644 tests/tcg/s390x/clgebr.c
 create mode 100644 tests/tcg/s390x/clm.S
 create mode 100644 tests/tcg/s390x/icm.S
 create mode 100644 tests/tcg/s390x/mc.S
 create mode 100644 tests/tcg/s390x/stpq.S
 create mode 100644 tests/tcg/s390x/vcksm.c

-- 
2.41.0