1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[SystemZ] Use ResourceCycles=30 for FPd unit (NFC).

This is better than listing FPd 30 times :-)

Review: Ulrich Weigand
llvm-svn: 329887
This commit is contained in:
Jonas Paulsson 2018-04-12 08:08:42 +00:00
parent b94c13f9bc
commit 49482fef9a
2 changed files with 4 additions and 22 deletions

View File

@ -78,17 +78,8 @@ def : WriteRes<VecDF, [Z13_VecUnit]> { let Latency = 8; }
def : WriteRes<VecDF2, [Z13_VecUnit, Z13_VecUnit]> { let Latency = 9; }
def : WriteRes<VecDFX, [Z13_VecUnit]> { let Latency = 1; }
def : WriteRes<VecDFX2, [Z13_VecUnit, Z13_VecUnit]> { let Latency = 2; }
def : WriteRes<VecFPd, [Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit,
Z13_VecFPdUnit, Z13_VecFPdUnit, Z13_VecFPdUnit]>
{ let Latency = 30; }
def : WriteRes<VecFPd, [Z13_VecFPdUnit]> { let Latency = 30;
let ResourceCycles = [30]; }
def : WriteRes<VecMul, [Z13_VecUnit]> { let Latency = 5; }
def : WriteRes<VecStr, [Z13_VecUnit]> { let Latency = 4; }
def : WriteRes<VecXsPm, [Z13_VecUnit]> { let Latency = 3; }

View File

@ -78,17 +78,8 @@ def : WriteRes<VecDF, [Z14_VecUnit]> { let Latency = 8; }
def : WriteRes<VecDF2, [Z14_VecUnit, Z14_VecUnit]> { let Latency = 9; }
def : WriteRes<VecDFX, [Z14_VecUnit]> { let Latency = 1; }
def : WriteRes<VecDFX2, [Z14_VecUnit, Z14_VecUnit]> { let Latency = 2; }
def : WriteRes<VecFPd, [Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit,
Z14_VecFPdUnit, Z14_VecFPdUnit, Z14_VecFPdUnit]>
{ let Latency = 30; }
def : WriteRes<VecFPd, [Z14_VecFPdUnit]> { let Latency = 30;
let ResourceCycles = [30]; }
def : WriteRes<VecMul, [Z14_VecUnit]> { let Latency = 5; }
def : WriteRes<VecStr, [Z14_VecUnit]> { let Latency = 4; }
def : WriteRes<VecXsPm, [Z14_VecUnit]> { let Latency = 3; }