[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/2] target/s390x: Fix emulation of C(G)HRL
From: |
Nina Schoetterl-Glausch |
Subject: |
[PATCH v1 0/2] target/s390x: Fix emulation of C(G)HRL |
Date: |
Mon, 6 Mar 2023 21:55:52 +0100 |
The second operand of COMPARE HALFWORD RELATIVE LONG is a signed
halfword, it does not have the same size as the first operand.
Fix this and add a tcg test for c(g)hrl.
Nina Schoetterl-Glausch (2):
target/s390x: Fix emulation of C(G)HRL
tests/tcg/s390x: Add C(G)HRL test
target/s390x/tcg/insn-data.h.inc | 4 +-
target/s390x/tcg/translate.c | 7 +++
tests/tcg/s390x/chrl.c | 76 ++++++++++++++++++++++++++++++++
tests/tcg/s390x/Makefile.target | 1 +
4 files changed, 86 insertions(+), 2 deletions(-)
create mode 100644 tests/tcg/s390x/chrl.c
base-commit: a2b5f8b8ab7b2c947823088103a40f0ff11fe06b
--
2.37.2
- [PATCH v1 0/2] target/s390x: Fix emulation of C(G)HRL,
Nina Schoetterl-Glausch <=