[PATCH] D34084: [Falkor] Enable SW Prefetch.

Haicheng Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 10 14:59:01 PDT 2017


haicheng created this revision.
Herald added a subscriber: javed.absar.

SW prefetch is good for Falkor.


Repository:
  rL LLVM

https://reviews.llvm.org/D34084

Files:
  lib/Target/AArch64/AArch64Subtarget.cpp


Index: lib/Target/AArch64/AArch64Subtarget.cpp
===================================================================
--- lib/Target/AArch64/AArch64Subtarget.cpp
+++ lib/Target/AArch64/AArch64Subtarget.cpp
@@ -92,6 +92,10 @@
     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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34084.102118.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170610/49088e42/attachment.bin>


More information about the llvm-commits mailing list