diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-31 10:29:32 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-05 11:01:05 +0200 |
commit | 45ccdbcb24baf99667997fac5cf60318e5e7db51 (patch) | |
tree | a8eec1aa787d899883eaeaf60248a310f411df03 /util | |
parent | 433cd6d94a8256af70a5200f236dc8047c3c1468 (diff) |
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>
Diffstat (limited to 'util')
-rw-r--r-- | util/cpuinfo-i386.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/cpuinfo-i386.c b/util/cpuinfo-i386.c index 6d474a6259..8f2694d88f 100644 --- a/util/cpuinfo-i386.c +++ b/util/cpuinfo-i386.c @@ -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. */ |