mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
Revert "host/i386: assume presence of POPCNT"
This reverts commit 45ccdbcb24
.
The x86-64 instruction set can now be tuned down to x86-64 v1
or i386 Pentium Pro.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b1fbee456c
commit
fe721c1948
3 changed files with 5 additions and 2 deletions
|
@ -35,6 +35,7 @@ unsigned __attribute__((constructor)) cpuinfo_init(void)
|
|||
__cpuid(1, a, b, c, d);
|
||||
|
||||
info |= (c & bit_MOVBE ? CPUINFO_MOVBE : 0);
|
||||
info |= (c & bit_POPCNT ? CPUINFO_POPCNT : 0);
|
||||
info |= (c & bit_PCLMUL ? CPUINFO_PCLMUL : 0);
|
||||
|
||||
/* NOTE: our AES support requires SSSE3 (PSHUFB) as well. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue