diff options
author | Haicheng Wu <haicheng@codeaurora.org> | 2016-06-21 22:47:56 +0000 |
---|---|---|
committer | Haicheng Wu <haicheng@codeaurora.org> | 2016-06-21 22:47:56 +0000 |
commit | 1fb090e593214cd8e7869db07f6e87da31cccda5 (patch) | |
tree | 927792dee16858099f78ae5bcc87106ef46b4acd /lib/Target/AArch64/AArch64Subtarget.cpp | |
parent | 1037ef2574adde2103ad221d63834c3e1df4a776 (diff) |
[Kryo] Enable loop prefetcher.
Differential Revision: http://reviews.llvm.org/D21535
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64Subtarget.cpp')
-rw-r--r-- | lib/Target/AArch64/AArch64Subtarget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/AArch64/AArch64Subtarget.cpp b/lib/Target/AArch64/AArch64Subtarget.cpp index 5904221e153..20faf8e6d2e 100644 --- a/lib/Target/AArch64/AArch64Subtarget.cpp +++ b/lib/Target/AArch64/AArch64Subtarget.cpp @@ -70,6 +70,10 @@ void AArch64Subtarget::initializeProperties() { case Kryo: MaxInterleaveFactor = 4; VectorInsertExtractBaseCost = 2; + CacheLineSize = 128; + PrefetchDistance = 740; + MinPrefetchStride = 1024; + MaxPrefetchIterationsAhead = 11; break; case Vulcan: break; case CortexA35: break; |