aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2016-02-02 12:46:24 +0000
committerCatalin Marinas <[email protected]>2016-02-16 15:12:32 +0000
commitd5370f754875460662abe8561388e019d90dd0c4 (patch)
treee0d0dc7b42147bd44ba5b7c3c5882b484cf8d9a9 /tools/perf/scripts/python
parentcd5e10bdf3795d22f10787bb1991c43798c885d5 (diff)
arm64: prefetch: add alternative pattern for CPUs without a prefetcher
Most CPUs have a hardware prefetcher which generally performs better without explicit prefetch instructions issued by software, however some CPUs (e.g. Cavium ThunderX) rely solely on explicit prefetch instructions. This patch adds an alternative pattern (ARM64_HAS_NO_HW_PREFETCH) to allow our library code to make use of explicit prefetch instructions during things like copy routines only when the CPU does not have the capability to perform the prefetching itself. Signed-off-by: Will Deacon <[email protected]> Tested-by: Andrew Pinski <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions