diff options
author | Haicheng Wu <haicheng@codeaurora.org> | 2017-06-12 16:34:19 +0000 |
---|---|---|
committer | Haicheng Wu <haicheng@codeaurora.org> | 2017-06-12 16:34:19 +0000 |
commit | ef790ffd56873fddcc9e9d3473af0b2cd82776e7 (patch) | |
tree | 95bee508ab4438f213a74402b0bd76cfb37f418e | |
parent | 59494f230341d2bca599dcbc1932b83dd3693130 (diff) | |
download | bcm5719-llvm-ef790ffd56873fddcc9e9d3473af0b2cd82776e7.tar.gz bcm5719-llvm-ef790ffd56873fddcc9e9d3473af0b2cd82776e7.zip |
[Falkor] Enable SW Prefetch.
SW prefetch is good for Falkor.
Differential Revision: http://reviews.llvm.org/D34084
llvm-svn: 305199
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp index d3cab1ad339..a9a9d5ce842 100644 --- a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp +++ b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp @@ -92,6 +92,10 @@ void AArch64Subtarget::initializeProperties() { MaxInterleaveFactor = 4; // FIXME: remove this to enable 64-bit SLP if performance looks good. MinVectorRegisterBitWidth = 128; + CacheLineSize = 128; + PrefetchDistance = 820; + MinPrefetchStride = 2048; + MaxPrefetchIterationsAhead = 8; break; case Kryo: MaxInterleaveFactor = 4; |