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 CLWB bit.



details:   https://anonhg.NetBSD.org/src/rev/5b1ef00901eb
branches:  trunk
changeset: 349347:5b1ef00901eb
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Dec 08 06:11:03 2016 +0000

description:
Add CLWB bit.

diffstat:

 sys/arch/x86/include/specialreg.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a76806c6ddc8 -r 5b1ef00901eb sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Thu Dec 08 05:16:33 2016 +0000
+++ b/sys/arch/x86/include/specialreg.h Thu Dec 08 06:11:03 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.90 2016/12/05 03:59:47 msaitoh Exp $  */
+/*     $NetBSD: specialreg.h,v 1.91 2016/12/08 06:11:03 msaitoh Exp $  */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -340,6 +340,7 @@
 #define CPUID_SEF_ADX          __BIT(19)
 #define CPUID_SEF_SMAP         __BIT(20)
 #define CPUID_SEF_CLFLUSHOPT   __BIT(23)
+#define CPUID_SEF_CLWB         __BIT(24)
 #define CPUID_SEF_PT           __BIT(25)
 #define CPUID_SEF_AVX512PF     __BIT(26)
 #define CPUID_SEF_AVX512ER     __BIT(27)
@@ -355,7 +356,7 @@
        "\15" "QM"      "\16" "FPUCSDS" "\17" "MPX"     "\20" "PQE"     \
        "\21" "AVX512F" "\22" "AVX512DQ" "\23" "RDSEED" "\24" "ADX"     \
        "\25" "SMAP"                                    "\30" "CLFLUSHOPT" \
-                       "\32" "PT"      "\33" "AVX512PF" "\34" "AVX512ER" \
+       "\31" "CLWB"    "\32" "PT"      "\33" "AVX512PF" "\34" "AVX512ER" \
        "\35" "AVX512CD""\36" "SHA"     "\37" "AVX512BW" "\40" "AVX512VL"
 
 /* %ecx */



Home | Main Index | Thread Index | Old Index