Skip to content

target/s390x: Fix R[NOX]SBG with T=1

Ilya Leoshkevich qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/s390x: Fix R[NOX]SBG with T=1target/s390x/tcg/translate.c+4 -00 replies
2/2tests/tcg/s390x: Add rxsbg.ctests/tcg/s390x/Makefile.target tests/tcg/s390x/rxsbg.c+49 -01 reply

Reviews trailers per patch

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

PatchDavid HildenbrandThomas Huth
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 v3 thread

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

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