]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86: Tunables may incorrectly set Prefer_PMINUB_for_stringop (bug 32047)
authorFlorian Weimer <fweimer@redhat.com>
Fri, 2 Aug 2024 13:22:14 +0000 (15:22 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 2 Aug 2024 16:08:14 +0000 (18:08 +0200)
Fixes commit 5bcf6265f215326d14dfacdce8532792c2c7f8f8 ("x86:
Disable non-temporal memset on Skylake Server").

Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
sysdeps/x86/cpu-tunables.c

index ae9dcd6180cfd3107d6ac225e724aa4b428cd135..ccc6b64dc207a4a101f0a84731e73948cd16bc0d 100644 (file)
@@ -248,6 +248,7 @@ TUNABLE_CALLBACK (set_hwcaps) (tunable_val_t *valp)
            CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features,
                                              Avoid_Non_Temporal_Memset, 25);
          }
+         break;
        case 26:
            {
              CHECK_GLIBC_IFUNC_PREFERRED_NEED_BOTH