2012-02-18 12:03:15 +00:00
|
|
|
//===-- PPCScheduleG5.td - PPC G5 Scheduling Definitions ---*- tablegen -*-===//
|
|
|
|
//
|
2005-10-18 16:23:40 +00:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2012-02-18 12:03:15 +00:00
|
|
|
//
|
2005-10-18 16:23:40 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines the itinerary class data for the G5 (970) processor.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2010-04-18 20:31:01 +00:00
|
|
|
def G5Itineraries : ProcessorItineraries<
|
2010-09-28 23:50:49 +00:00
|
|
|
[IU1, IU2, SLU, BPU, FPU1, FPU2, VFPU, VIU1, VIU2, VPU], [], [
|
2012-06-12 19:01:24 +00:00
|
|
|
InstrItinData<IntSimple , [InstrStage<2, [IU1, IU2]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<IntGeneral , [InstrStage<2, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntCompare , [InstrStage<3, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntDivD , [InstrStage<68, [IU1]>]>,
|
|
|
|
InstrItinData<IntDivW , [InstrStage<36, [IU1]>]>,
|
|
|
|
InstrItinData<IntMFFS , [InstrStage<6, [IU2]>]>,
|
|
|
|
InstrItinData<IntMFVSCR , [InstrStage<1, [VFPU]>]>,
|
|
|
|
InstrItinData<IntMTFSB0 , [InstrStage<6, [FPU1, FPU2]>]>,
|
|
|
|
InstrItinData<IntMulHD , [InstrStage<7, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntMulHW , [InstrStage<5, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntMulHWU , [InstrStage<5, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntMulLI , [InstrStage<4, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntRFID , [InstrStage<1, [IU2]>]>,
|
|
|
|
InstrItinData<IntRotateD , [InstrStage<2, [IU1, IU2]>]>,
|
2012-08-28 02:49:14 +00:00
|
|
|
InstrItinData<IntRotateDI , [InstrStage<2, [IU1, IU2]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<IntRotate , [InstrStage<4, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntShift , [InstrStage<2, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntTrapD , [InstrStage<1, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<IntTrapW , [InstrStage<1, [IU1, IU2]>]>,
|
|
|
|
InstrItinData<BrB , [InstrStage<1, [BPU]>]>,
|
|
|
|
InstrItinData<BrCR , [InstrStage<4, [BPU]>]>,
|
|
|
|
InstrItinData<BrMCR , [InstrStage<2, [BPU]>]>,
|
|
|
|
InstrItinData<BrMCRX , [InstrStage<3, [BPU]>]>,
|
|
|
|
InstrItinData<LdStDCBF , [InstrStage<3, [SLU]>]>,
|
2012-04-01 04:44:16 +00:00
|
|
|
InstrItinData<LdStLoad , [InstrStage<3, [SLU]>]>,
|
2012-08-28 02:49:14 +00:00
|
|
|
InstrItinData<LdStLoadUpd , [InstrStage<3, [SLU]>]>,
|
2012-04-01 04:44:16 +00:00
|
|
|
InstrItinData<LdStStore , [InstrStage<3, [SLU]>]>,
|
2012-08-28 02:49:14 +00:00
|
|
|
InstrItinData<LdStStoreUpd, [InstrStage<3, [SLU]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<LdStDSS , [InstrStage<10, [SLU]>]>,
|
2005-10-18 16:59:23 +00:00
|
|
|
InstrItinData<LdStICBI , [InstrStage<40, [SLU]>]>,
|
2012-08-28 02:49:14 +00:00
|
|
|
InstrItinData<LdStSTFD , [InstrStage<4, [SLU]>]>,
|
|
|
|
InstrItinData<LdStSTFDU , [InstrStage<4, [SLU]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<LdStLD , [InstrStage<3, [SLU]>]>,
|
2012-08-28 02:49:14 +00:00
|
|
|
InstrItinData<LdStLDU , [InstrStage<3, [SLU]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<LdStLDARX , [InstrStage<11, [SLU]>]>,
|
|
|
|
InstrItinData<LdStLFD , [InstrStage<3, [SLU]>]>,
|
|
|
|
InstrItinData<LdStLFDU , [InstrStage<5, [SLU]>]>,
|
|
|
|
InstrItinData<LdStLHA , [InstrStage<5, [SLU]>]>,
|
2012-08-28 02:49:14 +00:00
|
|
|
InstrItinData<LdStLHAU , [InstrStage<5, [SLU]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<LdStLMW , [InstrStage<64, [SLU]>]>,
|
2005-10-19 19:51:16 +00:00
|
|
|
InstrItinData<LdStLVecX , [InstrStage<3, [SLU]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<LdStLWA , [InstrStage<5, [SLU]>]>,
|
|
|
|
InstrItinData<LdStLWARX , [InstrStage<11, [SLU]>]>,
|
2005-10-18 16:59:23 +00:00
|
|
|
InstrItinData<LdStSLBIA , [InstrStage<40, [SLU]>]>, // needs work
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<LdStSLBIE , [InstrStage<2, [SLU]>]>,
|
|
|
|
InstrItinData<LdStSTD , [InstrStage<3, [SLU]>]>,
|
2012-08-28 02:49:14 +00:00
|
|
|
InstrItinData<LdStSTDU , [InstrStage<3, [SLU]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<LdStSTDCX , [InstrStage<11, [SLU]>]>,
|
|
|
|
InstrItinData<LdStSTVEBX , [InstrStage<5, [SLU]>]>,
|
|
|
|
InstrItinData<LdStSTWCX , [InstrStage<11, [SLU]>]>,
|
|
|
|
InstrItinData<LdStSync , [InstrStage<35, [SLU]>]>,
|
2005-10-18 16:59:23 +00:00
|
|
|
InstrItinData<SprISYNC , [InstrStage<40, [SLU]>]>, // needs work
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<SprMFSR , [InstrStage<3, [SLU]>]>,
|
|
|
|
InstrItinData<SprMTMSR , [InstrStage<3, [SLU]>]>,
|
|
|
|
InstrItinData<SprMTSR , [InstrStage<3, [SLU]>]>,
|
|
|
|
InstrItinData<SprTLBSYNC , [InstrStage<3, [SLU]>]>,
|
|
|
|
InstrItinData<SprMFCR , [InstrStage<2, [IU2]>]>,
|
|
|
|
InstrItinData<SprMFMSR , [InstrStage<3, [IU2]>]>,
|
|
|
|
InstrItinData<SprMFSPR , [InstrStage<3, [IU2]>]>,
|
|
|
|
InstrItinData<SprMFTB , [InstrStage<10, [IU2]>]>,
|
|
|
|
InstrItinData<SprMTSPR , [InstrStage<8, [IU2]>]>,
|
|
|
|
InstrItinData<SprSC , [InstrStage<1, [IU2]>]>,
|
|
|
|
InstrItinData<FPGeneral , [InstrStage<6, [FPU1, FPU2]>]>,
|
2012-08-28 02:49:14 +00:00
|
|
|
InstrItinData<FPAddSub , [InstrStage<6, [FPU1, FPU2]>]>,
|
2005-10-18 16:23:40 +00:00
|
|
|
InstrItinData<FPCompare , [InstrStage<8, [FPU1, FPU2]>]>,
|
|
|
|
InstrItinData<FPDivD , [InstrStage<33, [FPU1, FPU2]>]>,
|
|
|
|
InstrItinData<FPDivS , [InstrStage<33, [FPU1, FPU2]>]>,
|
|
|
|
InstrItinData<FPFused , [InstrStage<6, [FPU1, FPU2]>]>,
|
|
|
|
InstrItinData<FPRes , [InstrStage<6, [FPU1, FPU2]>]>,
|
|
|
|
InstrItinData<FPSqrt , [InstrStage<40, [FPU1, FPU2]>]>,
|
|
|
|
InstrItinData<VecGeneral , [InstrStage<2, [VIU1]>]>,
|
|
|
|
InstrItinData<VecFP , [InstrStage<8, [VFPU]>]>,
|
|
|
|
InstrItinData<VecFPCompare, [InstrStage<2, [VFPU]>]>,
|
|
|
|
InstrItinData<VecComplex , [InstrStage<5, [VIU2]>]>,
|
|
|
|
InstrItinData<VecPerm , [InstrStage<3, [VPU]>]>,
|
|
|
|
InstrItinData<VecFPRound , [InstrStage<8, [VFPU]>]>,
|
|
|
|
InstrItinData<VecVSL , [InstrStage<2, [VIU1]>]>,
|
|
|
|
InstrItinData<VecVSR , [InstrStage<3, [VPU]>]>
|
|
|
|
]>;
|