]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Use `Avoid_Non_Temporal_Memset` to control non-temporal path
authorNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 14 Aug 2024 06:37:30 +0000 (14:37 +0800)
committerSunil K Pandey <sunil.k.pandey@intel.com>
Sat, 12 Apr 2025 19:21:32 +0000 (12:21 -0700)
commit8fe27af20c8b25b84e12bcd52353862a95044aa2
tree860e2b6d8b5c7746f3fef270a06ff10e896b6240
parenta87d9a2c2cc17a3b22fd3be8d106336f4dcf2042
x86: Use `Avoid_Non_Temporal_Memset` to control non-temporal path

This is just a refactor and there should be no behavioral change from
this commit.

The goal is to make `Avoid_Non_Temporal_Memset` a more universal knob
for controlling whether we use non-temporal memset rather than having
extra logic based on vendor.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit b93dddfaf440aa12f45d7c356f6ffe9f27d35577)
sysdeps/x86/cpu-features.c
sysdeps/x86/dl-cacheinfo.h