Re: [PATCH 1/2] target/s390x: Fix EXECUTE of relative long instructions

2023-03-14 Thread Richard Henderson
On 3/13/23 16:38, Ilya Leoshkevich wrote: 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

Re: [PATCH 1/2] target/s390x: Fix EXECUTE of relative long instructions

2023-03-14 Thread David Hildenbrand
On 14.03.23 00:38, Ilya Leoshkevich wrote: 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

[PATCH 1/2] target/s390x: Fix EXECUTE of relative long instructions

2023-03-13 Thread Ilya Leoshkevich
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 in2_ri2(). Reported-by: Nina