1 //===-- PPCScheduleG5.td - PPC G5 Scheduling Definitions ---*- tablegen -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 // 10 // This file defines the itinerary class data for the G5 (970) processor. 11 // 12 //===----------------------------------------------------------------------===// 13 14 def G5Itineraries : ProcessorItineraries< 15 [IU1, IU2, SLU, BPU, FPU1, FPU2, VFPU, VIU1, VIU2, VPU], [], [ 16 InstrItinData<IntSimple , [InstrStage<2, [IU1, IU2]>]>, 17 InstrItinData<IntGeneral , [InstrStage<2, [IU1, IU2]>]>, 18 InstrItinData<IntCompare , [InstrStage<3, [IU1, IU2]>]>, 19 InstrItinData<IntDivD , [InstrStage<68, [IU1]>]>, 20 InstrItinData<IntDivW , [InstrStage<36, [IU1]>]>, 21 InstrItinData<IntMFFS , [InstrStage<6, [IU2]>]>, 22 InstrItinData<IntMFVSCR , [InstrStage<1, [VFPU]>]>, 23 InstrItinData<IntMTFSB0 , [InstrStage<6, [FPU1, FPU2]>]>, 24 InstrItinData<IntMulHD , [InstrStage<7, [IU1, IU2]>]>, 25 InstrItinData<IntMulHW , [InstrStage<5, [IU1, IU2]>]>, 26 InstrItinData<IntMulHWU , [InstrStage<5, [IU1, IU2]>]>, 27 InstrItinData<IntMulLI , [InstrStage<4, [IU1, IU2]>]>, 28 InstrItinData<IntRFID , [InstrStage<1, [IU2]>]>, 29 InstrItinData<IntRotateD , [InstrStage<2, [IU1, IU2]>]>, 30 InstrItinData<IntRotateDI , [InstrStage<2, [IU1, IU2]>]>, 31 InstrItinData<IntRotate , [InstrStage<4, [IU1, IU2]>]>, 32 InstrItinData<IntShift , [InstrStage<2, [IU1, IU2]>]>, 33 InstrItinData<IntTrapD , [InstrStage<1, [IU1, IU2]>]>, 34 InstrItinData<IntTrapW , [InstrStage<1, [IU1, IU2]>]>, 35 InstrItinData<BrB , [InstrStage<1, [BPU]>]>, 36 InstrItinData<BrCR , [InstrStage<4, [BPU]>]>, 37 InstrItinData<BrMCR , [InstrStage<2, [BPU]>]>, 38 InstrItinData<BrMCRX , [InstrStage<3, [BPU]>]>, 39 InstrItinData<LdStDCBF , [InstrStage<3, [SLU]>]>, 40 InstrItinData<LdStLoad , [InstrStage<3, [SLU]>]>, 41 InstrItinData<LdStLoadUpd , [InstrStage<3, [SLU]>]>, 42 InstrItinData<LdStStore , [InstrStage<3, [SLU]>]>, 43 InstrItinData<LdStStoreUpd, [InstrStage<3, [SLU]>]>, 44 InstrItinData<LdStDSS , [InstrStage<10, [SLU]>]>, 45 InstrItinData<LdStICBI , [InstrStage<40, [SLU]>]>, 46 InstrItinData<LdStSTFD , [InstrStage<4, [SLU]>]>, 47 InstrItinData<LdStSTFDU , [InstrStage<4, [SLU]>]>, 48 InstrItinData<LdStLD , [InstrStage<3, [SLU]>]>, 49 InstrItinData<LdStLDU , [InstrStage<3, [SLU]>]>, 50 InstrItinData<LdStLDARX , [InstrStage<11, [SLU]>]>, 51 InstrItinData<LdStLFD , [InstrStage<3, [SLU]>]>, 52 InstrItinData<LdStLFDU , [InstrStage<5, [SLU]>]>, 53 InstrItinData<LdStLHA , [InstrStage<5, [SLU]>]>, 54 InstrItinData<LdStLHAU , [InstrStage<5, [SLU]>]>, 55 InstrItinData<LdStLMW , [InstrStage<64, [SLU]>]>, 56 InstrItinData<LdStLVecX , [InstrStage<3, [SLU]>]>, 57 InstrItinData<LdStLWA , [InstrStage<5, [SLU]>]>, 58 InstrItinData<LdStLWARX , [InstrStage<11, [SLU]>]>, 59 InstrItinData<LdStSLBIA , [InstrStage<40, [SLU]>]>, // needs work 60 InstrItinData<LdStSLBIE , [InstrStage<2, [SLU]>]>, 61 InstrItinData<LdStSTD , [InstrStage<3, [SLU]>]>, 62 InstrItinData<LdStSTDU , [InstrStage<3, [SLU]>]>, 63 InstrItinData<LdStSTDCX , [InstrStage<11, [SLU]>]>, 64 InstrItinData<LdStSTVEBX , [InstrStage<5, [SLU]>]>, 65 InstrItinData<LdStSTWCX , [InstrStage<11, [SLU]>]>, 66 InstrItinData<LdStSync , [InstrStage<35, [SLU]>]>, 67 InstrItinData<SprISYNC , [InstrStage<40, [SLU]>]>, // needs work 68 InstrItinData<SprMFSR , [InstrStage<3, [SLU]>]>, 69 InstrItinData<SprMTMSR , [InstrStage<3, [SLU]>]>, 70 InstrItinData<SprMTSR , [InstrStage<3, [SLU]>]>, 71 InstrItinData<SprTLBSYNC , [InstrStage<3, [SLU]>]>, 72 InstrItinData<SprMFCR , [InstrStage<2, [IU2]>]>, 73 InstrItinData<SprMFMSR , [InstrStage<3, [IU2]>]>, 74 InstrItinData<SprMFSPR , [InstrStage<3, [IU2]>]>, 75 InstrItinData<SprMFTB , [InstrStage<10, [IU2]>]>, 76 InstrItinData<SprMTSPR , [InstrStage<8, [IU2]>]>, 77 InstrItinData<SprSC , [InstrStage<1, [IU2]>]>, 78 InstrItinData<FPGeneral , [InstrStage<6, [FPU1, FPU2]>]>, 79 InstrItinData<FPAddSub , [InstrStage<6, [FPU1, FPU2]>]>, 80 InstrItinData<FPCompare , [InstrStage<8, [FPU1, FPU2]>]>, 81 InstrItinData<FPDivD , [InstrStage<33, [FPU1, FPU2]>]>, 82 InstrItinData<FPDivS , [InstrStage<33, [FPU1, FPU2]>]>, 83 InstrItinData<FPFused , [InstrStage<6, [FPU1, FPU2]>]>, 84 InstrItinData<FPRes , [InstrStage<6, [FPU1, FPU2]>]>, 85 InstrItinData<FPSqrt , [InstrStage<40, [FPU1, FPU2]>]>, 86 InstrItinData<VecGeneral , [InstrStage<2, [VIU1]>]>, 87 InstrItinData<VecFP , [InstrStage<8, [VFPU]>]>, 88 InstrItinData<VecFPCompare, [InstrStage<2, [VFPU]>]>, 89 InstrItinData<VecComplex , [InstrStage<5, [VIU2]>]>, 90 InstrItinData<VecPerm , [InstrStage<3, [VPU]>]>, 91 InstrItinData<VecFPRound , [InstrStage<8, [VFPU]>]>, 92 InstrItinData<VecVSL , [InstrStage<2, [VIU1]>]>, 93 InstrItinData<VecVSR , [InstrStage<3, [VPU]>]> 94 ]>; 95