diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-08-02 15:22:14 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-08-09 22:47:46 +0200 |
commit | 19439efc69293653a256b8df30c916b3122ed731 (patch) | |
tree | 21a06ed512f059ddfba51d87621232be4af9c22e | |
parent | resolv: Fix tst-resolv-short-response for older GCC (bug 32042) (diff) | |
download | glibc-19439efc69293653a256b8df30c916b3122ed731.tar.gz glibc-19439efc69293653a256b8df30c916b3122ed731.tar.bz2 glibc-19439efc69293653a256b8df30c916b3122ed731.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)
(cherry picked from commit aa533d58ff12e27771d9c960a727d74992a3f2a3)
-rw-r--r-- | sysdeps/x86/cpu-tunables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/cpu-tunables.c b/sysdeps/x86/cpu-tunables.c index ae9dcd6180..ccc6b64dc2 100644 --- a/sysdeps/x86/cpu-tunables.c +++ b/sysdeps/x86/cpu-tunables.c @@ -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 |