summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2009-12-08 15:27:06 +0000
committeravg <avg@FreeBSD.org>2009-12-08 15:27:06 +0000
commit8dde51c9b8bb821ae73fe850b7e6fd6d5d2bf998 (patch)
tree8cd862cc3305b3443fd2c13fcd457dba50935500
parent4f817226e165dbc93626909eb579a189bd4b6b67 (diff)
downloadFreeBSD-src-8dde51c9b8bb821ae73fe850b7e6fd6d5d2bf998.zip
FreeBSD-src-8dde51c9b8bb821ae73fe850b7e6fd6d5d2bf998.tar.gz
MFC r199968: x86 cpu features: add MOVBE reporting and flag
-rw-r--r--sys/amd64/amd64/identcpu.c2
-rw-r--r--sys/amd64/include/specialreg.h1
-rw-r--r--sys/i386/i386/identcpu.c2
-rw-r--r--sys/i386/include/specialreg.h1
4 files changed, 4 insertions, 2 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index 420dd03..3cd2f5e 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -259,7 +259,7 @@ printcpuinfo(void)
"\024SSE4.1"
"\025SSE4.2"
"\026x2APIC" /* xAPIC Extensions */
- "\027<b22>"
+ "\027MOVBE"
"\030POPCNT"
"\031<b24>"
"\032<b25>"
diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h
index d1f0c89..8cadbcd 100644
--- a/sys/amd64/include/specialreg.h
+++ b/sys/amd64/include/specialreg.h
@@ -129,6 +129,7 @@
#define CPUID2_SSE41 0x00080000
#define CPUID2_SSE42 0x00100000
#define CPUID2_X2APIC 0x00200000
+#define CPUID2_MOVBE 0x00400000
#define CPUID2_POPCNT 0x00800000
/*
diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c
index edb861b..62c27ab 100644
--- a/sys/i386/i386/identcpu.c
+++ b/sys/i386/i386/identcpu.c
@@ -746,7 +746,7 @@ printcpuinfo(void)
"\024SSE4.1"
"\025SSE4.2"
"\026x2APIC" /* xAPIC Extensions */
- "\027<b22>"
+ "\027MOVBE"
"\030POPCNT"
"\031<b24>"
"\032<b25>"
diff --git a/sys/i386/include/specialreg.h b/sys/i386/include/specialreg.h
index c203059..d51da6d 100644
--- a/sys/i386/include/specialreg.h
+++ b/sys/i386/include/specialreg.h
@@ -126,6 +126,7 @@
#define CPUID2_SSE41 0x00080000
#define CPUID2_SSE42 0x00100000
#define CPUID2_X2APIC 0x00200000
+#define CPUID2_MOVBE 0x00400000
#define CPUID2_POPCNT 0x00800000
/*
OpenPOWER on IntegriCloud