projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
851a7c9
)
[ARM] Adjust the feature set for Exynos
author
Evandro Menezes
<e.menezes@samsung.com>
Wed, 19 Sep 2018 19:51:29 +0000
(19:51 +0000)
committer
Evandro Menezes
<e.menezes@samsung.com>
Wed, 19 Sep 2018 19:51:29 +0000
(19:51 +0000)
Fine tune the cost model for all Exynos processors.
llvm-svn: 342585
llvm/lib/Target/ARM/ARMSubtarget.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMSubtarget.cpp
b/llvm/lib/Target/ARM/ARMSubtarget.cpp
index
36701af
..
10aeeaf
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMSubtarget.cpp
+++ b/
llvm/lib/Target/ARM/ARMSubtarget.cpp
@@
-287,7
+287,13
@@
void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
case CortexR7:
case CortexM3:
case CortexR52:
+ break;
case Exynos:
+ MaxInterleaveFactor = 2;
+ PartialUpdateClearance = 12;
+ if (!isThumb())
+ PrefLoopAlignment = 3;
+ break;
case Kryo:
break;
case Krait: