Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/include Add Some bit definitions of AMD Fn80000...



details:   https://anonhg.NetBSD.org/src/rev/6c94f464a4b5
branches:  trunk
changeset: 321665:6c94f464a4b5
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Mar 30 09:30:56 2018 +0000

description:
Add Some bit definitions of AMD Fn80000001 %edx:
 - MMX
 - FXSR

diffstat:

 sys/arch/x86/include/specialreg.h |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 0bd478d7cdb2 -r 6c94f464a4b5 sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Fri Mar 30 09:28:37 2018 +0000
+++ b/sys/arch/x86/include/specialreg.h Fri Mar 30 09:30:56 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.118 2018/03/30 09:28:37 msaitoh Exp $ */
+/*     $NetBSD: specialreg.h,v 1.119 2018/03/30 09:30:56 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -498,6 +498,8 @@
 #define CPUID_MPC      0x00080000      /* Multiprocessing Capable */
 #define CPUID_NOX      0x00100000      /* No Execute Page Protection */
 #define CPUID_MMXX     0x00400000      /* AMD MMX Extensions */
+/*     CPUID_MMX                          MMX supported */
+/*     CPUID_FXSR                         fast FP/MMX save/restore */
 #define CPUID_FFXSR    0x02000000      /* FXSAVE/FXSTOR Extensions */
 /*     CPUID_P1GB                         1GB Large Page Support */
 /*     CPUID_RDTSCP                       Read TSC Pair Instruction */
@@ -506,9 +508,11 @@
 #define CPUID_3DNOW    0x80000000      /* 3DNow! Instructions */
 
 #define CPUID_EXT_FLAGS        "\20" \
-       "\14" "SYSCALL/SYSRET"          "\24" "MPC"     "\25" "NOX" \
-       "\27" "MMXX"    "\32" "FFXSR"   "\33" "P1GB"    "\34" "RDTSCP" \
-       "\36" "LONG"    "\37" "3DNOW2"  "\40" "3DNOW"
+                                               "\14" "SYSCALL/SYSRET"  \
+                                                       "\24" "MPC"     \
+       "\25" "NOX"                     "\27" "MMXX"    "\30" "MMX"     \
+       "\31" "FXSR"    "\32" "FFXSR"   "\33" "P1GB"    "\34" "RDTSCP"  \
+                       "\36" "LONG"    "\37" "3DNOW2"  "\40" "3DNOW"
 
 /* AMD Fn80000001 extended features - %ecx */
 /*     CPUID_LAHF                         LAHF/SAHF instruction */



Home | Main Index | Thread Index | Old Index