From 67f6aa5ccf1a90b4d8931d2cc807f79cd87200e3 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Sat, 2 Feb 2008 22:40:17 +0000 Subject: SSE4 CPUID bits --- sys/amd64/amd64/identcpu.c | 6 +++--- sys/amd64/include/specialreg.h | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'sys') 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" "\022" "\023DCA" /* Direct Cache Access */ - "\024" - "\025" + "\024SSE4.1" + "\025SSE4.2" "\026" "\027" - "\030" + "\030POPCNT" "\031" "\032" "\033" 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 -- cgit v1.3