[PATCH 0/4] Fix Fedora 38 Clang on s390x

Ilya Leoshkevich posted 4 patches 11 months, 2 weeks ago
Failed in applying to current master (apply log)
Maintainers: Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Thomas Huth <thuth@redhat.com>
target/s390x/tcg/insn-data.h.inc |  4 +--
tests/tcg/s390x/Makefile.target  |  2 ++
tests/tcg/s390x/lcbb.c           | 51 ++++++++++++++++++++++++++++++++
tests/tcg/s390x/locfhr.c         | 29 ++++++++++++++++++
4 files changed, 84 insertions(+), 2 deletions(-)
create mode 100644 tests/tcg/s390x/lcbb.c
create mode 100644 tests/tcg/s390x/locfhr.c
[PATCH 0/4] Fix Fedora 38 Clang on s390x
Posted by Ilya Leoshkevich 11 months, 2 weeks ago
Hi,

It was reported that Fedora 38 Clang does not run correctly under
qemu-s390x [1]. Comparing qemu and real s390x instruction traces has
shown that the implementations of LCBB and LOCFHR were not fully
correct.

This series fixes the issues and adds tests. I can now run Fedora 38
Clang under s390x emulation and compile "hello world" with it.

Best regards,
Ilya

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2209635

Ilya Leoshkevich (4):
  target/s390x: Fix LCBB overwriting the top 32 bits
  tests/tcg/s390x: Test LCBB
  target/s390x: Fix LOCFHR taking the wrong half of R2
  tests/tcg/s390x: Test LOCFHR

 target/s390x/tcg/insn-data.h.inc |  4 +--
 tests/tcg/s390x/Makefile.target  |  2 ++
 tests/tcg/s390x/lcbb.c           | 51 ++++++++++++++++++++++++++++++++
 tests/tcg/s390x/locfhr.c         | 29 ++++++++++++++++++
 4 files changed, 84 insertions(+), 2 deletions(-)
 create mode 100644 tests/tcg/s390x/lcbb.c
 create mode 100644 tests/tcg/s390x/locfhr.c

-- 
2.40.1