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

2023-03-15 Thread Richard Henderson
On 3/14/23 17:11, 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 v2 1/2] target/s390x: Fix EXECUTE of relative long instructions

2023-03-15 Thread David Hildenbrand
On 15.03.23 01:11, 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 v2 1/2] target/s390x: Fix EXECUTE of relative long instructions

2023-03-14 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 gen_ri2(). Reported-by: Nina