5d42bf6c57
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
|
||
---|---|---|
.. | ||
cc_helper.c | ||
crypto_helper.c | ||
excp_helper.c | ||
fpu_helper.c | ||
insn-data.h.inc | ||
insn-format.h.inc | ||
int_helper.c | ||
mem_helper.c | ||
meson.build | ||
misc_helper.c | ||
s390-tod.h | ||
tcg_s390x.h | ||
translate_vx.c.inc | ||
translate.c | ||
vec_fpu_helper.c | ||
vec_helper.c | ||
vec_int_helper.c | ||
vec_string_helper.c | ||
vec.h |