diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-01-21 13:36:45 +0000 | 
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-01-21 13:36:45 +0000 | 
| commit | 342406752743a70974093396516a1e50873502d2 (patch) | |
| tree | 42b861d6b96de3257339af75409453af73f3edb9 /llvm/lib/Target | |
| parent | d875d341716adc8f01cbb50cecb663190e904be9 (diff) | |
| download | bcm5719-llvm-342406752743a70974093396516a1e50873502d2.tar.gz bcm5719-llvm-342406752743a70974093396516a1e50873502d2.zip | |
[mips][sched] Renamed II_FsqrtSingle and II_FsqrtDouble to II_SQRT_S and II_SQRT_D respectively
No functional change
llvm-svn: 199741
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Mips/MicroMipsInstrFPU.td | 6 | ||||
| -rw-r--r-- | llvm/lib/Target/Mips/MipsInstrFPU.td | 6 | ||||
| -rw-r--r-- | llvm/lib/Target/Mips/MipsSchedule.td | 8 | 
3 files changed, 10 insertions, 10 deletions
| diff --git a/llvm/lib/Target/Mips/MicroMipsInstrFPU.td b/llvm/lib/Target/Mips/MicroMipsInstrFPU.td index 39573216097..9c07b7c52e0 100644 --- a/llvm/lib/Target/Mips/MicroMipsInstrFPU.td +++ b/llvm/lib/Target/Mips/MicroMipsInstrFPU.td @@ -52,7 +52,7 @@ def ROUND_W_S_MM : MMRel, ABSS_FT<"round.w.s", FGR32Opnd, FGR32Opnd, II_ROUND>,                     ROUND_W_FM_MM<0, 0xec>;  def TRUNC_W_S_MM : MMRel, ABSS_FT<"trunc.w.s", FGR32Opnd, FGR32Opnd, II_TRUNC>,                     ROUND_W_FM_MM<0, 0xac>; -def FSQRT_S_MM : MMRel, ABSS_FT<"sqrt.s", FGR32Opnd, FGR32Opnd,IIFsqrtSingle, +def FSQRT_S_MM : MMRel, ABSS_FT<"sqrt.s", FGR32Opnd, FGR32Opnd, II_SQRT_S,                                  fsqrt>, ROUND_W_FM_MM<0, 0x28>;  def CEIL_W_MM  : MMRel, ABSS_FT<"ceil.w.d", FGR32Opnd, AFGR64Opnd, II_CEIL>, @@ -66,8 +66,8 @@ def ROUND_W_MM : MMRel, ABSS_FT<"round.w.d", FGR32Opnd, AFGR64Opnd, II_ROUND>,  def TRUNC_W_MM : MMRel, ABSS_FT<"trunc.w.d", FGR32Opnd, AFGR64Opnd, II_TRUNC>,                   ROUND_W_FM_MM<1, 0xac>; -def FSQRT_MM : MMRel, ABSS_FT<"sqrt.d", AFGR64Opnd, AFGR64Opnd, -                              IIFsqrtDouble, fsqrt>, ROUND_W_FM_MM<1, 0x28>; +def FSQRT_MM : MMRel, ABSS_FT<"sqrt.d", AFGR64Opnd, AFGR64Opnd, II_SQRT_D, +                              fsqrt>, ROUND_W_FM_MM<1, 0x28>;  def CVT_L_S_MM   : MMRel, ABSS_FT<"cvt.l.s", FGR64Opnd, FGR32Opnd, II_CVT>,                     ROUND_W_FM_MM<0, 0x4>; diff --git a/llvm/lib/Target/Mips/MipsInstrFPU.td b/llvm/lib/Target/Mips/MipsInstrFPU.td index cb14815c38c..6d2a182a7e9 100644 --- a/llvm/lib/Target/Mips/MipsInstrFPU.td +++ b/llvm/lib/Target/Mips/MipsInstrFPU.td @@ -331,9 +331,9 @@ let Predicates = [NoNaNsFPMath, HasStdEnc] in {    defm FNEG : ABSS_M<"neg.d", II_NEG, fneg>, ABSS_FM<0x7, 17>;  } -def FSQRT_S : MMRel, ABSS_FT<"sqrt.s", FGR32Opnd, FGR32Opnd, IIFsqrtSingle, -               fsqrt>, ABSS_FM<0x4, 16>; -defm FSQRT : ABSS_M<"sqrt.d", IIFsqrtDouble, fsqrt>, ABSS_FM<0x4, 17>; +def FSQRT_S : MMRel, ABSS_FT<"sqrt.s", FGR32Opnd, FGR32Opnd, II_SQRT_S, fsqrt>, +              ABSS_FM<0x4, 16>; +defm FSQRT : ABSS_M<"sqrt.d", II_SQRT_D, fsqrt>, ABSS_FM<0x4, 17>;  // The odd-numbered registers are only referenced when doing loads,  // stores, and moves between floating-point and integer registers. diff --git a/llvm/lib/Target/Mips/MipsSchedule.td b/llvm/lib/Target/Mips/MipsSchedule.td index f7d7ee74b5f..6a0c47757a2 100644 --- a/llvm/lib/Target/Mips/MipsSchedule.td +++ b/llvm/lib/Target/Mips/MipsSchedule.td @@ -20,8 +20,6 @@ def IIAlu              : InstrItinClass;  def IILoad             : InstrItinClass;  def IIStore            : InstrItinClass;  def IIBranch           : InstrItinClass; -def IIFsqrtSingle      : InstrItinClass; -def IIFsqrtDouble      : InstrItinClass;  def IIFrecipFsqrtStep  : InstrItinClass;  def IIFLoad            : InstrItinClass;  def IIFStore           : InstrItinClass; @@ -116,6 +114,8 @@ def II_SLL              : InstrItinClass;  def II_SLLV             : InstrItinClass;  def II_SLTI_SLTIU       : InstrItinClass; // slti and sltiu  def II_SLT_SLTU         : InstrItinClass; // slt and sltu +def II_SQRT_D           : InstrItinClass; +def II_SQRT_S           : InstrItinClass;  def II_SRA              : InstrItinClass;  def II_SRAV             : InstrItinClass;  def II_SRL              : InstrItinClass; @@ -227,8 +227,8 @@ def MipsGenericItineraries : ProcessorItineraries<[ALU, IMULDIV], [], [    InstrItinData<II_NMSUB_D         , [InstrStage<8,  [ALU]>]>,    InstrItinData<II_DIV_S           , [InstrStage<23, [ALU]>]>,    InstrItinData<II_DIV_D           , [InstrStage<36, [ALU]>]>, -  InstrItinData<IIFsqrtSingle      , [InstrStage<54, [ALU]>]>, -  InstrItinData<IIFsqrtDouble      , [InstrStage<12, [ALU]>]>, +  InstrItinData<II_SQRT_S          , [InstrStage<54, [ALU]>]>, +  InstrItinData<II_SQRT_D          , [InstrStage<12, [ALU]>]>,    InstrItinData<IIFrecipFsqrtStep  , [InstrStage<5,  [ALU]>]>,    InstrItinData<IIFLoad            , [InstrStage<3,  [ALU]>]>,    InstrItinData<IIFStore           , [InstrStage<1,  [ALU]>]>, | 

