From: Haicheng Wu Date: Mon, 12 Jun 2017 16:34:19 +0000 (+0000) Subject: [Falkor] Enable SW Prefetch. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e66f5f3fddd5400f066ac5d5dfad3019d4735d26;p=llvm [Falkor] Enable SW Prefetch. SW prefetch is good for Falkor. Differential Revision: http://reviews.llvm.org/D34084 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305199 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64Subtarget.cpp b/lib/Target/AArch64/AArch64Subtarget.cpp index d3cab1ad339..a9a9d5ce842 100644 --- a/lib/Target/AArch64/AArch64Subtarget.cpp +++ b/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;