aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/include
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2024-07-15 16:19:17 +0800
committerNoah Goldstein <goldstein.w.n@gmail.com>2024-07-16 17:20:18 +0800
commit5bcf6265f215326d14dfacdce8532792c2c7f8f8 (patch)
tree00b669b545dc16a3c6ed55148ef39830f0f55f65 /sysdeps/x86/include
parent2dcc908538054377d19571d77a026b9f26d3fd0f (diff)
downloadglibc-5bcf6265f215326d14dfacdce8532792c2c7f8f8.tar.xz
glibc-5bcf6265f215326d14dfacdce8532792c2c7f8f8.zip
x86: Disable non-temporal memset on Skylake Server
The original commit enabling non-temporal memset on Skylake Server had erroneous benchmarks (actually done on ICX). Further benchmarks indicate non-temporal stores may in fact by a regression on Skylake Server. This commit may be over-cautious in some cases, but should avoid any regressions for 2.40. Tested using qemu on all x86_64 cpu arch supported by both qemu + GLIBC. Reviewed-by: DJ Delorie <dj@redhat.com> Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/x86/include')
-rw-r--r--sysdeps/x86/include/cpu-features-preferred_feature_index_1.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/include/cpu-features-preferred_feature_index_1.def b/sysdeps/x86/include/cpu-features-preferred_feature_index_1.def
index 85e7f54ec8..61bbbc2e89 100644
--- a/sysdeps/x86/include/cpu-features-preferred_feature_index_1.def
+++ b/sysdeps/x86/include/cpu-features-preferred_feature_index_1.def
@@ -33,3 +33,4 @@ BIT (Prefer_No_AVX512)
BIT (MathVec_Prefer_No_AVX512)
BIT (Prefer_FSRM)
BIT (Avoid_Short_Distance_REP_MOVSB)
+BIT (Avoid_Non_Temporal_Memset)