]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Disable non-temporal memset on Skylake Server
authorNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 15 Jul 2024 08:19:17 +0000 (16:19 +0800)
committerSunil K Pandey <sunil.k.pandey@intel.com>
Mon, 14 Apr 2025 15:53:24 +0000 (08:53 -0700)
commitbde201e92c1e64934f8ffe3e5b7d769100677037
tree540bec9a0cd22bb76347ea5a52bab0a6176e506e
parent38a7632f2d1ec86445904b356c54129591e8519b
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>
(cherry picked from commit 5bcf6265f215326d14dfacdce8532792c2c7f8f8)
sysdeps/x86/cpu-features.c
sysdeps/x86/cpu-tunables.c
sysdeps/x86/dl-cacheinfo.h
sysdeps/x86/include/cpu-features-preferred_feature_index_1.def
sysdeps/x86/tst-hwcap-tunables.c