[llvm] r327795 - [X86][Btver2] Strip default latency/resource values. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 18 06:16:11 PDT 2018


Author: rksimon
Date: Sun Mar 18 06:16:11 2018
New Revision: 327795

URL: http://llvm.org/viewvc/llvm-project?rev=327795&view=rev
Log:
[X86][Btver2] Strip default latency/resource values. NFCI.

Modified:
    llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td

Modified: llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td?rev=327795&r1=327794&r2=327795&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td (original)
+++ llvm/trunk/lib/Target/X86/X86ScheduleBtVer2.td Sun Mar 18 06:16:11 2018
@@ -136,7 +136,6 @@ def : WriteRes<WriteLEA, [JALU01]>;
 
 // FIXME: Why do bitcounts use WriteIMul?
 def JWriteLZCNT : SchedWriteRes<[JALU01]> {
-  let Latency = 1;
 }
 def JWriteLZCNTLd : SchedWriteRes<[JLAGU, JALU01]> {
   let Latency = 4;
@@ -373,28 +372,28 @@ defm : JWriteResFpuPair<WriteCLMul,
 
 def JWriteDPPS: SchedWriteRes<[JFPU0, JFPU1]> {
   let Latency = 11;
-  let ResourceCycles = [3,3];
+  let ResourceCycles = [3, 3];
   let NumMicroOps = 5;
 }
 def : InstRW<[JWriteDPPS], (instrs DPPSrri, VDPPSrri)>;
 
 def JWriteDPPSLd: SchedWriteRes<[JLAGU, JFPU0, JFPU1]> {
   let Latency = 16;
-  let ResourceCycles = [1,3,3];
+  let ResourceCycles = [1, 3, 3];
   let NumMicroOps = 6;
 }
 def : InstRW<[JWriteDPPSLd], (instrs DPPSrmi, VDPPSrmi)>;
 
 def JWriteDPPD: SchedWriteRes<[JFPU0, JFPU1]> {
   let Latency = 9;
-  let ResourceCycles = [3,3];
+  let ResourceCycles = [3, 3];
   let NumMicroOps = 3;
 }
 def : InstRW<[JWriteDPPD], (instrs DPPDrri, VDPPDrri)>;
 
 def JWriteDPPDLd: SchedWriteRes<[JLAGU, JFPU0, JFPU1]> {
   let Latency = 14;
-  let ResourceCycles = [1,3,3];
+  let ResourceCycles = [1, 3, 3];
   let NumMicroOps = 3;
 }
 def : InstRW<[JWriteDPPDLd], (instrs DPPDrmi, VDPPDrmi)>;
@@ -424,26 +423,24 @@ def : InstRW<[JWriteCVT3], (instrs VCVTP
 
 def JWriteCVT3St: SchedWriteRes<[JFPU1, JSAGU]> {
   let Latency = 3;
-  let ResourceCycles = [1, 1];
 }
 def : InstRW<[JWriteCVT3St], (instrs VCVTPS2PHmr)>;
 
 def JWriteCVT3Ld: SchedWriteRes<[JLAGU, JFPU1]> {
   let Latency = 8;
-  let ResourceCycles = [1, 1];
 }
 def : InstRW<[JWriteCVT3Ld], (instrs VCVTPH2PSrm)>;
 
 def JWriteCVTPS2PHY: SchedWriteRes<[JFPU1, JFPU01]> {
   let Latency = 6;
-  let ResourceCycles = [2,2];
+  let ResourceCycles = [2, 2];
   let NumMicroOps = 3;
 }
 def : InstRW<[JWriteCVTPS2PHY], (instrs VCVTPS2PHYrr)>;
 
 def JWriteCVTPS2PHYSt: SchedWriteRes<[JFPU1, JFPU01, JSAGU]> {
   let Latency = 11;
-  let ResourceCycles = [2,2,1];
+  let ResourceCycles = [2, 2, 1];
   let NumMicroOps = 3;
 }
 def : InstRW<[JWriteCVTPS2PHYSt], (instrs VCVTPS2PHYmr)>;
@@ -457,7 +454,7 @@ def : InstRW<[JWriteCVTPH2PSY], (instrs
 
 def JWriteCVTPH2PSYLd: SchedWriteRes<[JLAGU, JFPU1]> {
   let Latency = 8;
-  let ResourceCycles = [1,2];
+  let ResourceCycles = [1, 2];
   let NumMicroOps = 2;
 }
 def : InstRW<[JWriteCVTPH2PSYLd], (instrs VCVTPH2PSYrm)>;




More information about the llvm-commits mailing list