]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Fix emulation of C(G)HRL
authorNina Schoetterl-Glausch <nsg@linux.ibm.com>
Fri, 10 Mar 2023 11:41:56 +0000 (12:41 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 30 Mar 2023 09:19:04 +0000 (12:19 +0300)
commit17b032c6598ea756889f25e8d3e4cd9f2036669b
treef9910edfcab7a8806de5534e91aedec78408647b
parenta3c6cd83e32d7729889b3eab2a9b6b4650c56ea9
target/s390x: Fix emulation of C(G)HRL

The second operand of COMPARE HALFWORD RELATIVE LONG is a signed
halfword, it does not have the same size as the first operand.

Fixes: a7e836d5eb ("target-s390: Convert COMPARE, COMPARE LOGICAL")
Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230310114157.3024170-2-nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 54fce97cfcaf5463ee5f325bc1f1d4adc2772f38)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/s390x/tcg/insn-data.h.inc
target/s390x/tcg/translate.c