aboutsummaryrefslogtreecommitdiff
path: root/malloc/alloc_buffer_alloc_array.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2024-05-24 12:38:51 -0500
committerSunil K Pandey <sunil.k.pandey@intel.com>2025-04-14 08:50:58 -0700
commit0da58e8be087ca7011ec918977c2ffac9034d1d4 (patch)
tree28dccd0bc199e26ac9111b393bda4d86d87a4468 /malloc/alloc_buffer_alloc_array.c
parent837a36c371f18a3152d032e8060f4e5120c25e2b (diff)
downloadglibc-0da58e8be087ca7011ec918977c2ffac9034d1d4.tar.xz
glibc-0da58e8be087ca7011ec918977c2ffac9034d1d4.zip
x86: Add seperate non-temporal tunable for memset
The tuning for non-temporal stores for memset vs memcpy is not always the same. This includes both the exact value and whether non-temporal stores are profitable at all for a given arch. This patch add `x86_memset_non_temporal_threshold`. Currently we disable non-temporal stores for non Intel vendors as the only benchmarks showing its benefit have been on Intel hardware. Reviewed-by: H.J. Lu <hjl.tools@gmail.com> (cherry picked from commit 46b5e98ef6f1b9f4b53851f152ecb8209064b26c)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions