diff options
| author | Stefan Pintilie <stefanp@ca.ibm.com> | 2018-03-27 17:51:53 +0000 |
|---|---|---|
| committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2018-03-27 17:51:53 +0000 |
| commit | 659f040351c5f7c10501cd36c5d6df00270e671d (patch) | |
| tree | 473cec3117e74f0d035d55e784f19b101e502d68 /llvm/lib/Target | |
| parent | 0e44f5eb8bea6931a0e47afd9fe5fc537a25bb4f (diff) | |
| download | bcm5719-llvm-659f040351c5f7c10501cd36c5d6df00270e671d.tar.gz bcm5719-llvm-659f040351c5f7c10501cd36c5d6df00270e671d.zip | |
[Power9] Fix the resource list for the COPY instruction.
The COPY instruction was listed as a 4 cycle instruction.
It is now listed correctly as a 2 cycle ALU instruction.
llvm-svn: 328647
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/PowerPC/P9InstrResources.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/P9InstrResources.td b/llvm/lib/Target/PowerPC/P9InstrResources.td index 809ee8839ae..832e0e30ada 100644 --- a/llvm/lib/Target/PowerPC/P9InstrResources.td +++ b/llvm/lib/Target/PowerPC/P9InstrResources.td @@ -151,6 +151,7 @@ def : InstRW<[P9_ALU_2C, IP_EXEC_1C, DISP_1C, DISP_1C], (instregex "ADD(4|8)(TLS)?(_)?$"), (instregex "NEG(8)?$"), (instregex "ADDI(S)?toc(HA|L)$"), + COPY, MCRF, MCRXRX, XSNABSDP, @@ -741,7 +742,6 @@ def : InstRW<[P9_LS_4C, IP_AGEN_1C, DISP_1C, DISP_1C], (instregex "LWARX(L)?$"), (instregex "LWBRX(8)?$"), (instregex "LWZ(8|CIX|X|X8)?$"), - COPY, CP_ABORT, DARN, EnforceIEIO, |

