]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: fix CPUID check for LFENCE and SFENCE
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Oct 2024 06:59:03 +0000 (08:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Oct 2024 15:30:56 +0000 (16:30 +0100)
commit14bde8cd7613753182baee636f216cb2d840a9e3
treea3ab0848b603809887b7e8099f1d02a1bce861e8
parent15195de6a93438be99fdf9a90992c4228527130d
target/i386: fix CPUID check for LFENCE and SFENCE

LFENCE and SFENCE were introduced with the original SSE instruction set;
marking them incorrectly as cpuid(SSE2) causes failures for CPU models
that lack SSE2, for example pentium3.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/decode-new.c.inc