x86: Correct bit_cpu_CLFLUSHOPT [BZ #26128]

Message ID 20200617123458.37771-1-hjl.tools@gmail.com
State New
Headers show
Series
  • x86: Correct bit_cpu_CLFLUSHOPT [BZ #26128]
Related show

Commit Message

Adhemerval Zanella via Libc-alpha June 17, 2020, 12:34 p.m.
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(-)

-- 
2.26.2

Patch

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)