aboutsummaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-05-31 10:29:32 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-06-05 11:01:05 +0200
commit45ccdbcb24baf99667997fac5cf60318e5e7db51 (patch)
treea8eec1aa787d899883eaeaf60248a310f411df03 /host
parent433cd6d94a8256af70a5200f236dc8047c3c1468 (diff)
downloadqemu-45ccdbcb24baf99667997fac5cf60318e5e7db51.zip
qemu-45ccdbcb24baf99667997fac5cf60318e5e7db51.tar.gz
qemu-45ccdbcb24baf99667997fac5cf60318e5e7db51.tar.bz2
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 'host')
-rw-r--r--host/include/i386/host/cpuinfo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/host/include/i386/host/cpuinfo.h b/host/include/i386/host/cpuinfo.h
index 72f6fad..c1e94d7 100644
--- a/host/include/i386/host/cpuinfo.h
+++ b/host/include/i386/host/cpuinfo.h
@@ -11,7 +11,6 @@
#define CPUINFO_ALWAYS (1u << 0) /* so cpuinfo is nonzero */
#define CPUINFO_MOVBE (1u << 2)
#define CPUINFO_LZCNT (1u << 3)
-#define CPUINFO_POPCNT (1u << 4)
#define CPUINFO_BMI1 (1u << 5)
#define CPUINFO_BMI2 (1u << 6)
#define CPUINFO_AVX1 (1u << 9)