qemu/target/s390x/tcg
Ilya Leoshkevich 5d42bf6c57 target/s390x: Fix EXECUTE of relative long instructions
The code uses the wrong base for relative addressing: it should use the
target instruction address and not the EXECUTE's address.

Fix by storing the target instruction address in the new CPUS390XState
member and loading it from the code generated by gen_ri2().

Reported-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230316210751.302423-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 703d03a4aa)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-03-30 12:19:04 +03:00
..
cc_helper.c target/s390x/tcg: Fix and improve the SACF instruction 2022-12-03 22:04:40 +01:00
crypto_helper.c target/s390x: support PRNO_TRNG instruction 2022-09-26 17:23:11 +02:00
excp_helper.c s390x: Fix spelling errors 2022-11-16 10:15:26 +01:00
fpu_helper.c s390x: Fix spelling errors 2022-11-16 10:15:26 +01:00
insn-data.h.inc target/s390x: Fix emulation of C(G)HRL 2023-03-30 12:19:04 +03:00
insn-format.h.inc target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc 2022-11-05 20:35:45 +01:00
int_helper.c
mem_helper.c target/s390x: Fix EXECUTE of relative long instructions 2023-03-30 12:19:04 +03:00
meson.build
misc_helper.c s390x: Fix spelling errors 2022-11-16 10:15:26 +01:00
s390-tod.h
tcg_s390x.h compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
translate_vx.c.inc s390x: Fix spelling errors 2022-11-16 10:15:26 +01:00
translate.c target/s390x: Fix EXECUTE of relative long instructions 2023-03-30 12:19:04 +03:00
vec_fpu_helper.c target/s390x: fix handling of zeroes in vfmin/vfmax 2022-07-19 12:49:56 +02:00
vec_helper.c target/s390x: Fix writeback to v1 in helper_vstl 2022-05-04 08:47:19 +02:00
vec_int_helper.c target/s390x: vxeh2: Update for changes to vector shifts 2022-05-04 08:47:19 +02:00
vec_string_helper.c target/s390x: vxeh2: vector string search 2022-05-04 08:47:19 +02:00
vec.h Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00