Skip to content
Commit 46b5e98e authored by Noah Goldstein's avatar Noah Goldstein
Browse files

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: default avatarH.J. Lu <hjl.tools@gmail.com>
parent 5bf0ab80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment