summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-31 00:09:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-31 00:09:42 +0000
commit1f46d4503c19ac904da42a022c980750523ac413 (patch)
treea847e240c7d3f2aa2307d73bc81e6c6616074b0b /sys/arch
parent32ae28c4b85e6be46f5d992d17a93d52a2a5fd4c (diff)
rename SIMD/SIMD2 to SSE/SSE2
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/machdep.c10
-rw-r--r--sys/arch/i386/include/specialreg.h6
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index e1de76e4b89..ea177f7b693 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.265 2004/01/29 19:01:54 tedu Exp $ */
+/* $OpenBSD: machdep.c,v 1.266 2004/01/31 00:09:41 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -1071,8 +1071,8 @@ const struct cpu_cpuid_feature i386_cpuid_features[] = {
{ CPUID_ACPI, "ACPI" },
{ CPUID_MMX, "MMX" },
{ CPUID_FXSR, "FXSR" },
- { CPUID_SIMD, "SIMD" },
- { CPUID_SIMD2, "SIMD2" },
+ { CPUID_SSE, "SSE" },
+ { CPUID_SSE2, "SSE2" },
{ CPUID_SS, "SS" },
{ CPUID_HTT, "HTT" },
{ CPUID_TM, "TM" },
@@ -1683,7 +1683,7 @@ amd_family6_setup(cpu_device, model, step)
extern void sse2_pagezero(void *, size_t);
extern void i686_pagezero(void *, size_t);
- if (cpu_feature & CPUID_SIMD2)
+ if (cpu_feature & CPUID_SSE2)
pagezero = sse2_pagezero;
else
pagezero = i686_pagezero;
@@ -1738,7 +1738,7 @@ intel686_cpu_setup(cpu_device, model, step)
extern void sse2_pagezero(void *, size_t);
extern void i686_pagezero(void *, size_t);
- if (cpu_feature & CPUID_SIMD2)
+ if (cpu_feature & CPUID_SSE2)
pagezero = sse2_pagezero;
else
pagezero = i686_pagezero;
diff --git a/sys/arch/i386/include/specialreg.h b/sys/arch/i386/include/specialreg.h
index 5dbdb4cf155..7b41a040956 100644
--- a/sys/arch/i386/include/specialreg.h
+++ b/sys/arch/i386/include/specialreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: specialreg.h,v 1.17 2003/12/18 23:46:20 tedu Exp $ */
+/* $OpenBSD: specialreg.h,v 1.18 2004/01/31 00:09:41 deraadt Exp $ */
/* $NetBSD: specialreg.h,v 1.7 1994/10/27 04:16:26 cgd Exp $ */
/*-
@@ -114,8 +114,8 @@
#define CPUID_MMX 0x00800000 /* has MMX instructions */
#define CPUID_FXSR 0x01000000 /* has FXRSTOR instruction (Intel) */
#define CPUID_EMMX 0x01000000 /* has extended MMX (Cyrix; obsolete) */
-#define CPUID_SIMD 0x02000000 /* has SIMD instructions (Intel) */
-#define CPUID_SIMD2 0x04000000 /* has SIMD instructions (Intel) #2 */
+#define CPUID_SSE 0x02000000 /* has SSE instructions */
+#define CPUID_SSE2 0x04000000 /* has SSE2 instructions */
#define CPUID_SS 0x08000000 /* self-snoop */
#define CPUID_HTT 0x10000000 /* hyper-threading tech */
#define CPUID_TM 0x20000000 /* thermal monitor (TCC) */