]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: Fix VSIB decode
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 5 Aug 2024 00:31:24 +0000 (10:31 +1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 28 Aug 2024 05:37:28 +0000 (08:37 +0300)
commit73b491b792dcea335134fa96dbdfa72fdcdfec52
treec15ccc9d53981905e3f786f286204edea456f7b0
parentce15d843f11a89ac9f025a7c5b61b3157f72117f
target/i386: Fix VSIB decode

With normal SIB, index == 4 indicates no index.
With VSIB, there is no exception for VR4/VR12.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2474
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Link: https://lore.kernel.org/r/20240805003130.1421051-3-richard.henderson@linaro.org
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit ac63755b20013ec6a3d2aef4538d37dc90bc3d10)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: modify the change to pre-new-decoder introduced past qemu 9.0)
target/i386/tcg/decode-new.c.inc
target/i386/tcg/translate.c