[PATCH v3 0/2] target/s390x: Fix R[NOX]SBG with T=1

Ilya Leoshkevich posted 2 patches 1 year ago
target/s390x/tcg/translate.c    |  4 +++
tests/tcg/s390x/Makefile.target |  3 +++
tests/tcg/s390x/rxsbg.c         | 46 +++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+)
create mode 100644 tests/tcg/s390x/rxsbg.c
[PATCH v3 0/2] target/s390x: Fix R[NOX]SBG with T=1
Posted by Ilya Leoshkevich 1 year ago
v2: https://lists.gnu.org/archive/html/qemu-devel/2023-03/msg04699.html
v2 -> v3: Assert that o->out != NULL, mention the commit that exposed
          the problem (Philippe).

v1: https://lists.gnu.org/archive/html/qemu-devel/2023-03/msg04493.html
v1 -> v2: Work around a clang issue (Thomas).
          Add cc=0 test, use more human-friendly constants.

Hi,

This series fixes ROTATE THEN <do something with> SELECTED BITS when
test-results control is on. The problem is the incorrect translation,
which confuses the register allocator.

Patch 1 is the fix, patch 2 adds a test.

Best regards,
Ilya

Ilya Leoshkevich (2):
  target/s390x: Fix R[NOX]SBG with T=1
  tests/tcg/s390x: Add rxsbg.c

 target/s390x/tcg/translate.c    |  4 +++
 tests/tcg/s390x/Makefile.target |  3 +++
 tests/tcg/s390x/rxsbg.c         | 46 +++++++++++++++++++++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 tests/tcg/s390x/rxsbg.c

-- 
2.39.2