diff options
| author | Jinsong Ji <jji@us.ibm.com> | 2019-06-14 21:33:51 +0000 |
|---|---|---|
| committer | Jinsong Ji <jji@us.ibm.com> | 2019-06-14 21:33:51 +0000 |
| commit | bbab7acedf40620243eba2b8d6625f660a59a087 (patch) | |
| tree | 45d5f14a333373f7a30752fd960a455ab44ca0db /llvm/lib/Target | |
| parent | e6efb6433f7e8cbd089e8592de167b49c19f7ba0 (diff) | |
| download | bcm5719-llvm-bbab7acedf40620243eba2b8d6625f660a59a087.tar.gz bcm5719-llvm-bbab7acedf40620243eba2b8d6625f660a59a087.zip | |
[PowerPC][NFC] Comments update and remove some unused def
llvm-svn: 363461
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/PowerPC/P9InstrResources.td | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCScheduleP9.td | 20 |
2 files changed, 2 insertions, 20 deletions
diff --git a/llvm/lib/Target/PowerPC/P9InstrResources.td b/llvm/lib/Target/PowerPC/P9InstrResources.td index 2be2e4ff0f5..c2b862b3173 100644 --- a/llvm/lib/Target/PowerPC/P9InstrResources.td +++ b/llvm/lib/Target/PowerPC/P9InstrResources.td @@ -1,4 +1,4 @@ -//===- P9InstrResources.td - P9 Instruction Resource Defs -*-tablegen-*- ===// +//===- P9InstrResources.td - P9 Instruction Resource Defs -*- tablegen -*-==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/llvm/lib/Target/PowerPC/PPCScheduleP9.td b/llvm/lib/Target/PowerPC/PPCScheduleP9.td index 505bb14b631..6a79cca8919 100644 --- a/llvm/lib/Target/PowerPC/PPCScheduleP9.td +++ b/llvm/lib/Target/PowerPC/PPCScheduleP9.td @@ -189,7 +189,7 @@ let SchedModel = P9Model in { // ALU Units // An ALU may take either 2 or 3 cycles to complete the operation. - // However, the ALU unit is only every busy for 1 cycle at a time and may + // However, the ALU unit is only ever busy for 1 cycle at a time and may // receive new instructions each cycle. def P9_ALU_2C : SchedWriteRes<[ALU]> { let Latency = 2; @@ -244,10 +244,6 @@ let SchedModel = P9Model in { // DP Unit // A DP unit may take from 2 to 36 cycles to complete. // Some DP operations keep the unit busy for up to 10 cycles. - def P9_DP_2C : SchedWriteRes<[DP]> { - let Latency = 2; - } - def P9_DP_5C : SchedWriteRes<[DP]> { let Latency = 5; } @@ -269,11 +265,6 @@ let SchedModel = P9Model in { let Latency = 22; } - def P9_DP_24C_8 : SchedWriteRes<[DP]> { - let ResourceCycles = [8]; - let Latency = 24; - } - def P9_DPO_24C_8 : SchedWriteRes<[DPO]> { let ResourceCycles = [8]; let Latency = 24; @@ -289,11 +280,6 @@ let SchedModel = P9Model in { let Latency = 22; } - def P9_DP_27C_7 : SchedWriteRes<[DP]> { - let ResourceCycles = [7]; - let Latency = 27; - } - def P9_DPE_27C_10 : SchedWriteRes<[DP]> { let ResourceCycles = [10]; let Latency = 27; @@ -424,16 +410,12 @@ let SchedModel = P9Model in { def P9_IntDivAndALUOp_26C_8 : WriteSequence<[P9_DIV_24C_8, P9_ALU_2C]>; def P9_IntDivAndALUOp_42C_8 : WriteSequence<[P9_DIV_40C_8, P9_ALU_2C]>; def P9_StoreAndALUOp_3C : WriteSequence<[P9_LS_1C, P9_ALU_2C]>; - def P9_StoreAndALUOp_4C : WriteSequence<[P9_LS_1C, P9_ALU_3C]>; def P9_ALUOpAndALUOp_4C : WriteSequence<[P9_ALU_2C, P9_ALU_2C]>; def P9_ALU2OpAndALU2Op_6C : WriteSequence<[P9_ALU_3C, P9_ALU_3C]>; def P9_ALUOpAndALUOpAndALUOp_6C : WriteSequence<[P9_ALU_2C, P9_ALU_2C, P9_ALU_2C]>; def P9_DPOpAndALUOp_7C : WriteSequence<[P9_DP_5C, P9_ALU_2C]>; - def P9_DPOpAndALUOp_9C : WriteSequence<[P9_DP_7C, P9_ALU_2C]>; def P9_DPOpAndALU2Op_10C : WriteSequence<[P9_DP_7C, P9_ALU_3C]>; - def P9_DPOpAndALUOp_24C_5 : WriteSequence<[P9_DP_22C_5, P9_ALU_2C]>; - def P9_DPOpAndALUOp_35C_8 : WriteSequence<[P9_DP_33C_8, P9_ALU_2C]>; def P9_DPOpAndALU2Op_25C_5 : WriteSequence<[P9_DP_22C_5, P9_ALU_3C]>; def P9_DPOpAndALU2Op_29C_5 : WriteSequence<[P9_DP_26C_5, P9_ALU_3C]>; def P9_DPOpAndALU2Op_36C_8 : WriteSequence<[P9_DP_33C_8, P9_ALU_3C]>; |

