[PATCH] D21535: [Kryo] Enable loop prefetcher.

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 14:45:22 PDT 2016


haicheng created this revision.
haicheng added reviewers: mcrosier, mssimpso.
haicheng added a subscriber: llvm-commits.
haicheng set the repository for this revision to rL LLVM.
Herald added a subscriber: mcrosier.

SW prefetcher is beneficial to Kryo.

Repository:
  rL LLVM

http://reviews.llvm.org/D21535

Files:
  lib/Target/AArch64/AArch64Subtarget.cpp

Index: lib/Target/AArch64/AArch64Subtarget.cpp
===================================================================
--- lib/Target/AArch64/AArch64Subtarget.cpp
+++ lib/Target/AArch64/AArch64Subtarget.cpp
@@ -70,6 +70,10 @@
   case Kryo:
     MaxInterleaveFactor = 4;
     VectorInsertExtractBaseCost = 2;
+    CacheLineSize = 128;
+    PrefetchDistance = 740;
+    MinPrefetchStride = 1024;
+    MaxPrefetchIterationsAhead = 11;
     break;
   case Vulcan: break;
   case CortexA35: break;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21535.61310.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160620/b0c28502/attachment.bin>


More information about the llvm-commits mailing list