aboutsummaryrefslogtreecommitdiff
path: root/host/include/i386
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-06-18 17:34:32 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-06-28 14:44:51 +0200
commitfe721c1948ef459caab106190276717bec252c88 (patch)
treee5db3c04000cd20f7a71a8f3bb8add14a637b954 /host/include/i386
parentb1fbee456c8dcb5d53dd0324bde1e17ffc6bc5de (diff)
Revert "host/i386: assume presence of POPCNT"
This reverts commit 45ccdbcb24baf99667997fac5cf60318e5e7db51. 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>
Diffstat (limited to 'host/include/i386')
-rw-r--r--host/include/i386/host/cpuinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/include/i386/host/cpuinfo.h b/host/include/i386/host/cpuinfo.h
index c1e94d75ce..72f6fad61e 100644
--- a/host/include/i386/host/cpuinfo.h
+++ b/host/include/i386/host/cpuinfo.h
@@ -11,6 +11,7 @@
#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)