aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2008-02-02 22:40:17 +0000
committerDavid Schultz <das@FreeBSD.org>2008-02-02 22:40:17 +0000
commit67f6aa5ccf1a90b4d8931d2cc807f79cd87200e3 (patch)
tree35175425d563329b26a68a08a82defa853fc8e3b /sys
parent31b32e6dc3c5b7441d55ab156020fc266c04fd63 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/identcpu.c6
-rw-r--r--sys/amd64/include/specialreg.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index cd0c72eda1d8..6aa30522ebb7 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -240,11 +240,11 @@ printcpuinfo(void)
"\021<b16>"
"\022<b17>"
"\023DCA" /* Direct Cache Access */
- "\024<b19>"
- "\025<b20>"
+ "\024SSE4.1"
+ "\025SSE4.2"
"\026<b21>"
"\027<b22>"
- "\030<b23>"
+ "\030POPCNT"
"\031<b24>"
"\032<b25>"
"\033<b26>"
diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h
index e25ed7b9a451..3fb1c53dafed 100644
--- a/sys/amd64/include/specialreg.h
+++ b/sys/amd64/include/specialreg.h
@@ -125,6 +125,9 @@
#define CPUID2_XTPR 0x00004000
#define CPUID2_PDCM 0x00008000
#define CPUID2_DCA 0x00040000
+#define CPUID2_SSE41 0x00080000
+#define CPUID2_SSE42 0x00100000
+#define CPUID2_POPCNT 0x00800000
/*
* Important bits in the AMD extended cpuid flags