[PATCH] x86: Correct bit_cpu_CLFLUSHOPT [BZ #26128]
H.J. Lu
hjl.tools@gmail.com
Wed Jun 17 12:34:58 GMT 2020
bit_cpu_CLFLUSHOPT should be (1u << 23), not (1u << 22).
I will check it in shortly.
H.J.
---
sysdeps/x86/cpu-features.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/x86/cpu-features.h b/sysdeps/x86/cpu-features.h
index f05d5ce158..a5cc55d8b6 100644
--- a/sysdeps/x86/cpu-features.h
+++ b/sysdeps/x86/cpu-features.h
@@ -465,7 +465,7 @@ extern const struct cpu_features *__get_cpu_features (void)
#define bit_cpu_ADX (1u << 19)
#define bit_cpu_SMAP (1u << 20)
#define bit_cpu_AVX512_IFMA (1u << 21)
-#define bit_cpu_CLFLUSHOPT (1u << 22)
+#define bit_cpu_CLFLUSHOPT (1u << 23)
#define bit_cpu_CLWB (1u << 24)
#define bit_cpu_TRACE (1u << 25)
#define bit_cpu_AVX512PF (1u << 26)
--
2.26.2
More information about the Libc-alpha
mailing list