mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
host/i386: assume presence of POPCNT
QEMU now requires an x86-64-v2 host, which has the POPCNT instruction. Use it freely in TCG-generated code. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
433cd6d94a
commit
45ccdbcb24
3 changed files with 2 additions and 5 deletions
|
@ -35,7 +35,6 @@ 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