diff options
| author | Joe Damato <jdamato@fastly.com> | 2024-06-07 23:04:47 +0000 |
|---|---|---|
| committer | Sunil K Pandey <sunil.k.pandey@intel.com> | 2025-04-14 08:51:22 -0700 |
| commit | cc59fa5dbc4db7c6d1fb792c55a5d83c54ee72bf (patch) | |
| tree | 273687cddec64cee8fd626730ff057a087729a8b /malloc/alloc_buffer_alloc_array.c | |
| parent | 0da58e8be087ca7011ec918977c2ffac9034d1d4 (diff) | |
| download | glibc-cc59fa5dbc4db7c6d1fb792c55a5d83c54ee72bf.tar.xz glibc-cc59fa5dbc4db7c6d1fb792c55a5d83c54ee72bf.zip | |
x86: Enable non-temporal memset tunable for AMD
In commit 46b5e98ef6f1 ("x86: Add seperate non-temporal tunable for
memset") a tunable threshold for enabling non-temporal memset was added,
but only for Intel hardware.
Since that commit, new benchmark results suggest that non-temporal
memset is beneficial on AMD, as well, so allow this tunable to be set
for AMD.
See:
https://docs.google.com/spreadsheets/d/1opzukzvum4n6-RUVHTGddV6RjAEil4P2uMjjQGLbLcU/edit?usp=sharing
which has been updated to include data using different stategies for
large memset on AMD Zen2, Zen3, and Zen4.
Signed-off-by: Joe Damato <jdamato@fastly.com>
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit bef2a827a55fc759693ccc5b0f614353b8ad712d)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
