llvm.org GIT mirror llvm / 6bfc13d
[X86] Drop unnecessary InstRW overrides for WriteFMA As noticed on D44687, these already match the WriteFMA def so can be removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328045 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 2 years ago
1 changed file(s) with 0 addition(s) and 24 deletion(s). Raw diff Collapse all Expand all
16151615 }
16161616 def : InstRW<[ZnWriteROUNDr], (instregex "(V?)ROUND(Y?)(S|P)(S|D)r")>;
16171617
1618 // VFMADD.
1619 // v,v,v.
1620 def ZnWriteFMADDr : SchedWriteRes<[ZnFPU03]> {
1621 let Latency = 5;
1622 }
1623 def : InstRW<[ZnWriteFMADDr],
1624 (instregex
1625 "VF(N?)M(ADD|SUB|ADDSUB|SUBADD)P(S|D)(213|132|231)(Y?)r",
1626 "VF(N?)M(ADD|SUB)(132|231|213)S(S|D)r",
1627 "VF(N?)M(ADD|SUB)S(S|D)4rr",
1628 "VF(N?)M(ADD|SUB)P(S|D)4(Y?)rr")>;
1629
1630 // v,v,m.
1631 def ZnWriteFMADDm : SchedWriteRes<[ZnAGU, ZnFPU03]> {
1632 let Latency = 12;
1633 let NumMicroOps = 2;
1634 }
1635 def : InstRW<[ZnWriteFMADDm],
1636 (instregex
1637 "VF(N?)M(ADD|SUB|ADDSUB|SUBADD)(213|132|231)P(S|D)(Y?)m",
1638 "VF(N?)M(ADD|SUB)(132|231|213)S(S|D)m",
1639 "VF(N?)M(ADD|SUB)S(S|D)4(rm|mr)",
1640 "VF(N?)M(ADD|SUB)P(S|D)4(Y?)(rm|mr)")>;
1641
16421618 // v,m,i.
16431619 def ZnWriteROUNDm : SchedWriteRes<[ZnAGU, ZnFPU3]> {
16441620 let Latency = 11;