]> git.proxmox.com Git - mirror_qemu.git/commit
target/i386: adjust decoding of J operand
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Oct 2023 09:28:46 +0000 (11:28 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Dec 2023 21:04:30 +0000 (22:04 +0100)
commit4b2baf4a555620f29e75b8194ce2d4fed07a58d0
tree5a7e51d18d56d96f7aae944dff3bdffe72de5c51
parentd4f611711a9abe23616d6d965fba955340d11d0d
target/i386: adjust decoding of J operand

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.

The result is that J is now the same as the I operand.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/decode-new.c.inc