]> xenbits.xensource.com Git - qemu-xen.git/commit
target/i386: remove duplicate prefix decoding
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Apr 2024 15:31:23 +0000 (17:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 May 2024 06:53:26 +0000 (08:53 +0200)
commitd4e6d40c36071c287199c072cd5d296091ee5968
treebf8e2352c268f3f5af902c78cd2f6c0996ba95f2
parentef309ec2a6fab1265950c831b16c3e6a9e72a9c1
target/i386: remove duplicate prefix decoding

Now that a bulk of opcodes go through the new decoder, it is sensible
to do some cleanup.  Go immediately through disas_insn_new and only jump
back after parsing the prefixes.

disas_insn() now only contains the three sigsetjmp cases, and they
are more easily managed if they are inlined into i386_tr_translate_insn.

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