]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86: Correct bit_cpu_CLFLUSHOPT [BZ #26128]
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 17 Jun 2020 12:32:37 +0000 (05:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 17 Jun 2020 12:32:37 +0000 (05:32 -0700)
bit_cpu_CLFLUSHOPT should be (1u << 23), not (1u << 22).

sysdeps/x86/cpu-features.h

index f05d5ce158d0f0df5a1897c368f8757235877098..a5cc55d8b6f4428d198381cb8f8c3594061b8b8d 100644 (file)
@@ -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)