[llvm] r305751 - [AArch64][Kryo] Add missing write latency for LDAXP, LDXP second destination.
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 19 14:57:42 PDT 2017
Author: gberry
Date: Mon Jun 19 16:57:42 2017
New Revision: 305751
URL: http://llvm.org/viewvc/llvm-project?rev=305751&view=rev
Log:
[AArch64][Kryo] Add missing write latency for LDAXP, LDXP second destination.
Fixes PR33491 and PR33512.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64SchedKryoDetails.td
Modified: llvm/trunk/lib/Target/AArch64/AArch64SchedKryoDetails.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64SchedKryoDetails.td?rev=305751&r1=305750&r2=305751&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64SchedKryoDetails.td (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64SchedKryoDetails.td Mon Jun 19 16:57:42 2017
@@ -1374,7 +1374,9 @@ def KryoWrite_3cyc_LS_LS_400ln :
let Latency = 3; let NumMicroOps = 2;
}
def : InstRW<[KryoWrite_3cyc_LS_LS_400ln],
- (instregex "(LDAX?R(B|H|W|X)|LDAXP(W|X))")>;
+ (instregex "LDAX?R(B|H|W|X)")>;
+def : InstRW<[KryoWrite_3cyc_LS_LS_400ln, WriteLDHi],
+ (instregex "LDAXP(W|X)")>;
def KryoWrite_3cyc_LS_LS_401ln :
SchedWriteRes<[KryoUnitLS, KryoUnitLS]> {
let Latency = 3; let NumMicroOps = 2;
@@ -1565,7 +1567,7 @@ def KryoWrite_3cyc_LS_258ln :
SchedWriteRes<[KryoUnitLS]> {
let Latency = 3; let NumMicroOps = 1;
}
-def : InstRW<[KryoWrite_3cyc_LS_258ln],
+def : InstRW<[KryoWrite_3cyc_LS_258ln, WriteLDHi],
(instregex "LDXP(W|X)")>;
def KryoWrite_3cyc_LS_258_1ln :
SchedWriteRes<[KryoUnitLS]> {
More information about the llvm-commits
mailing list