Skip to content

target/s390x: Emulate CVDG and CVB*

Ilya Leoshkevich qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 1 replyIn review
  2. v44 patches 4 repliesSuperseded
  3. v34 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches1 replySuperseded
v12 patches7 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/s390x: Emulate CVDGtarget/s390x/helper.h target/s390x/tcg/insn-data.h.inc target/s390x/tcg/int_helper.c +1 more+31 -00 replies
2/4target/s390x: Emulate CVB, CVBY and CVBGtarget/s390x/helper.h target/s390x/tcg/insn-data.h.inc target/s390x/tcg/int_helper.c +1 more+98 -01 reply
3/4tests/tcg/s390x: Test CONVERT TO DECIMALtests/tcg/s390x/Makefile.target tests/tcg/s390x/cvd.c+64 -00 replies
4/4tests/tcg/s390x: Test CONVERT TO BINARYtests/tcg/s390x/Makefile.target tests/tcg/s390x/cvb.c+103 -00 replies

Reviews trailers per patch

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

PatchThomas HuthRichard Henderson
1/4R-b
2/4R-b
3/4R-b
4/4R-b T-b

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

Read the v5 thread

Cover letter [PATCH v5 0/4] target/s390x: Emulate CVDG and CVB*

v4: https://lists.gnu.org/archive/html/qemu-devel/2024-02/msg00434.html
v4 -> v5: Remove a redundant CVBG overflow check;
Write the comment explaining the remaining CVBG overflow check;
Add R-bs to the tests (Thomas).

v3: https://lists.gnu.org/archive/html/qemu-devel/2024-01/msg06664.html
v3 -> v4: Implement CVB error handling (David/Thomas).

v2: https://lists.gnu.org/archive/html/qemu-devel/2024-01/msg05048.html
v2 -> v3: Resurrect an old CVB* patch (Thomas).
Add Richard's R-b.

v1: https://lists.gnu.org/archive/html/qemu-devel/2024-01/msg02865.html
v1 -> v2: Fix !CONFIG_INT128 builds (Richard).

Hi,

Ido reported that we are missing the CVDG emulation (which is very similar to the existing CVD emulation). This series adds it along with a test.

Best regards,
Ilya

Ilya Leoshkevich (4):
target/s390x: Emulate CVDG
target/s390x: Emulate CVB, CVBY and CVBG
tests/tcg/s390x: Test CONVERT TO DECIMAL
tests/tcg/s390x: Test CONVERT TO BINARY

 target/s390x/helper.h            |   3 +
 target/s390x/tcg/insn-data.h.inc |   5 ++
 target/s390x/tcg/int_helper.c    |  97 +++++++++++++++++++++++++++++
 target/s390x/tcg/translate.c     |  24 ++++++++
 tests/tcg/s390x/Makefile.target  |   2 +
 tests/tcg/s390x/cvb.c            | 102 +++++++++++++++++++++++++++++++
 tests/tcg/s390x/cvd.c            |  63 +++++++++++++++++++
 7 files changed, 296 insertions(+)
 create mode 100644 tests/tcg/s390x/cvb.c
 create mode 100644 tests/tcg/s390x/cvd.c
Signature · 1 line
2.43.0