aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-08-02 15:22:14 +0200
committerSunil K Pandey <sunil.k.pandey@intel.com>2025-04-14 08:54:48 -0700
commit2be36448c46e9ef712e5f3d5381f38bf3138efdf (patch)
treefec05089b7f0e1e0d57f41f1b386928fdb1ff988 /sysdeps
parentbde201e92c1e64934f8ffe3e5b7d769100677037 (diff)
downloadglibc-2be36448c46e9ef712e5f3d5381f38bf3138efdf.tar.xz
glibc-2be36448c46e9ef712e5f3d5381f38bf3138efdf.zip
x86: Tunables may incorrectly set Prefer_PMINUB_for_stringop (bug 32047)
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)
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86/cpu-tunables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/cpu-tunables.c b/sysdeps/x86/cpu-tunables.c
index a71772c9c0..a0b31d80f6 100644
--- a/sysdeps/x86/cpu-tunables.c
+++ b/sysdeps/x86/cpu-tunables.c
@@ -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