From: Jinsong Ji Date: Fri, 14 Jun 2019 21:33:51 +0000 (+0000) Subject: [PowerPC][NFC] Comments update and remove some unused def X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ecb3ce855c397d237b0ea3bf43d97ed806c2b26;p=llvm [PowerPC][NFC] Comments update and remove some unused def git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363461 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/P9InstrResources.td b/lib/Target/PowerPC/P9InstrResources.td index 2be2e4ff0f5..c2b862b3173 100644 --- a/lib/Target/PowerPC/P9InstrResources.td +++ b/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/lib/Target/PowerPC/PPCScheduleP9.td b/lib/Target/PowerPC/PPCScheduleP9.td index 505bb14b631..6a79cca8919 100644 --- a/lib/Target/PowerPC/PPCScheduleP9.td +++ b/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]>;