]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/i386: make rex_w available even in 32-bit mode
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Oct 2022 11:27:44 +0000 (13:27 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Oct 2022 11:58:04 +0000 (13:58 +0200)
commita61ef762f976e58363efd6124b3a2992a2d0cdca
treee35f21af3c92de60260d7874f37f70a666c46569
parent12a2c9c72c86baa6840eb416877bf55b554153f3
target/i386: make rex_w available even in 32-bit mode

REX.W can be used even in 32-bit mode by AVX instructions, where it is retroactively
renamed to VEX.W.  Make the field available even in 32-bit mode but keep the REX_W()
macro as it was; this way, that the handling of dflag does not use it by mistake and
the AVX code more clearly points at the special VEX behavior of the bit.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c