]> 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)
committerSunil K Pandey <sunil.k.pandey@intel.com>
Mon, 14 Apr 2025 15:54:48 +0000 (08:54 -0700)
Fixes commit 5bcf6265f215326d14dfacdce8532792c2c7f8f8 ("x86:
Disable non-temporal memset on Skylake Server").

Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 7a630f7d3392ca391a399486ce2846f9e4b4ee63)

sysdeps/x86/cpu-tunables.c

index a71772c9c07d01d724aab0190a59f6a75db3bb81..a0b31d80f64127c530eb2e24ac432461408a8eaa 100644 (file)
@@ -250,6 +250,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