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

Haicheng Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 09:35:01 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL305199: [Falkor] Enable SW Prefetch. (authored by haicheng).

Changed prior to commit:
  https://reviews.llvm.org/D34084?vs=102118&id=102193#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34084

Files:
  llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp


Index: llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp
===================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp
+++ llvm/trunk/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.102193.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170612/0b00802e/attachment.bin>


More information about the llvm-commits mailing list