[llvm] r199381 - [mips] IIImult should have an InstrItinData in the generic scheduler. Used the same one as for IIImul.

Daniel Sanders daniel.sanders at imgtec.com
Thu Jan 16 05:45:54 PST 2014


Author: dsanders
Date: Thu Jan 16 07:45:53 2014
New Revision: 199381

URL: http://llvm.org/viewvc/llvm-project?rev=199381&view=rev
Log:
[mips] IIImult should have an InstrItinData in the generic scheduler. Used the same one as for IIImul.

Affects:
  DMULT, DMULTu, MADD, MADD_MM, MADDU, MADDU_MM, MSUB, MSUB_MM, MSUBU,
  MSUBU_MM, MULT, MULTu

Does not affect MULT_MM, MULTu_MM since they are currently miscategorised
as IIImul.

Modified:
    llvm/trunk/lib/Target/Mips/MipsSchedule.td

Modified: llvm/trunk/lib/Target/Mips/MipsSchedule.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsSchedule.td?rev=199381&r1=199380&r2=199381&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsSchedule.td (original)
+++ llvm/trunk/lib/Target/Mips/MipsSchedule.td Thu Jan 16 07:45:53 2014
@@ -58,6 +58,7 @@ def MipsGenericItineraries : ProcessorIt
   InstrItinData<IIBranch           , [InstrStage<1,  [ALU]>]>,
   InstrItinData<IIHiLo             , [InstrStage<1,  [IMULDIV]>]>,
   InstrItinData<IIImul             , [InstrStage<17, [IMULDIV]>]>,
+  InstrItinData<IIImult            , [InstrStage<17, [IMULDIV]>]>,
   InstrItinData<IIIdiv             , [InstrStage<38, [IMULDIV]>]>,
   InstrItinData<IIFcvt             , [InstrStage<1,  [ALU]>]>,
   InstrItinData<IIFmove            , [InstrStage<2,  [ALU]>]>,





More information about the llvm-commits mailing list