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 Fix bitstring format of Intel CPUID Arc...



details:   https://anonhg.NetBSD.org/src/rev/dc34162fd6d2
branches:  trunk
changeset: 839149:dc34162fd6d2
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Feb 08 04:06:00 2019 +0000

description:
Fix bitstring format of Intel CPUID Architectural Performance Monitoring
Fn0000000a %ebx.

diffstat:

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

diffs (20 lines):

diff -r 98ca94f3f262 -r dc34162fd6d2 sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Fri Feb 08 03:59:34 2019 +0000
+++ b/sys/arch/x86/include/specialreg.h Fri Feb 08 04:06:00 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.138 2019/02/05 08:07:19 msaitoh Exp $ */
+/*     $NetBSD: specialreg.h,v 1.139 2019/02/08 04:06:00 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -464,8 +464,8 @@
 #define CPUID_PERF_BRMISPRRETR __BIT(6)       /* No branch mispredict retry */
 
 #define CPUID_PERF_FLAGS1      "\177\20"                                     \
-       "b\0\1CORECYCL\0" "b\1\1INSTRETRY\0" "b\2\1REFCYCL\0" "b\3\1LLCREF\0" \
-       "b\4\1LLCMISS\0" "b\5\1BRINSRETR\0" "b\6\1BRMISPRRETR\0"
+       "b\0CORECYCL\0" "b\1INSTRETRY\0" "b\2REFCYCL\0" "b\3LLCREF\0" \
+       "b\4LLCMISS\0" "b\5BRINSRETR\0" "b\6BRMISPRRETR\0"
 
 /* %edx */
 #define CPUID_PERF_NFFPC       __BITS(4, 0)   /* Num of fixed-funct perfcnt */



Home | Main Index | Thread Index | Old Index