]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: convert bit test instructions to new decoder
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Jun 2024 09:42:12 +0000 (11:42 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Oct 2024 17:41:29 +0000 (19:41 +0200)
commit10eae89937d3211ce100b7f6a3718df66324bdf5
tree9785ea088e13f70ac3a1637651dab36900b8c3e1
parent615586cb356811e46c2e5f85c36db4b93f8381cd
target/i386: convert bit test instructions to new decoder

Code generation was rewritten; it reuses the same trick to use the
CC_OP_SAR values for cc_op, but it tries to use CC_OP_ADCX or CC_OP_ADCOX
instead of CC_OP_EFLAGS.  This is a tiny bit more efficient in the
common case where only CF is checked in the resulting flags.

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/decode-new.h
target/i386/tcg/emit.c.inc
target/i386/tcg/translate.c