[llvm] r328027 - [AArch64] Adjust the cost model for Exynos M3

Evandro Menezes via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 13:00:29 PDT 2018


Author: evandro
Date: Tue Mar 20 13:00:29 2018
New Revision: 328027

URL: http://llvm.org/viewvc/llvm-project?rev=328027&view=rev
Log:
[AArch64] Adjust the cost model for Exynos M3

Fix typo in the number of integer dividers.

Modified:
    llvm/trunk/lib/Target/AArch64/AArch64SchedExynosM3.td

Modified: llvm/trunk/lib/Target/AArch64/AArch64SchedExynosM3.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64SchedExynosM3.td?rev=328027&r1=328026&r2=328027&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64SchedExynosM3.td (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64SchedExynosM3.td Tue Mar 20 13:00:29 2018
@@ -39,7 +39,7 @@ let SchedModel = ExynosM3Model in {
 
 def M3UnitA  : ProcResource<2>; // Simple integer
 def M3UnitC  : ProcResource<2>; // Simple and complex integer
-def M3UnitD  : ProcResource<2>; // Integer division (inside C, serialized)
+def M3UnitD  : ProcResource<1>; // Integer division (inside C0, serialized)
 def M3UnitB  : ProcResource<2>; // Branch
 def M3UnitL  : ProcResource<2>; // Load
 def M3UnitS  : ProcResource<1>; // Store




More information about the llvm-commits mailing list