Re: [PATCH 12/18] target/i386: adjust decoding of J operand

2023-10-18 Thread Richard Henderson
On 10/14/23 03:01, Paolo Bonzini wrote: gen_jcc() has been changed to accept a relative offset since the new decoder was written. Adjust the J operand, which is meant to be used with jump instructions such as gen_jcc(), to not include the program counter and to not truncate the result, as both o

[PATCH 12/18] target/i386: adjust decoding of J operand

2023-10-14 Thread Paolo Bonzini
gen_jcc() has been changed to accept a relative offset since the new decoder was written. Adjust the J operand, which is meant to be used with jump instructions such as gen_jcc(), to not include the program counter and to not truncate the result, as both operations are now performed by common code