1 //===- PPCScheduleG4Plus.td - PPC G4+ Scheduling Defs. -----*- tablegen -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the itinerary class data for the G4+ (7450) processor.
12 //===----------------------------------------------------------------------===//
14 def IU3 : FuncUnit; // integer unit 3 (7450 simple)
15 def IU4 : FuncUnit; // integer unit 4 (7450 simple)
17 def G4PlusItineraries : ProcessorItineraries<
18 [IU1, IU2, IU3, IU4, BPU, SLU, FPU1, VFPU, VIU1, VIU2, VPU], [], [
19 InstrItinData<IntGeneral , [InstrStage<1, [IU1, IU2, IU3, IU4]>]>,
20 InstrItinData<IntCompare , [InstrStage<1, [IU1, IU2, IU3, IU4]>]>,
21 InstrItinData<IntDivW , [InstrStage<23, [IU2]>]>,
22 InstrItinData<IntMFFS , [InstrStage<5, [FPU1]>]>,
23 InstrItinData<IntMFVSCR , [InstrStage<2, [VFPU]>]>,
24 InstrItinData<IntMTFSB0 , [InstrStage<5, [FPU1]>]>,
25 InstrItinData<IntMulHW , [InstrStage<4, [IU2]>]>,
26 InstrItinData<IntMulHWU , [InstrStage<4, [IU2]>]>,
27 InstrItinData<IntMulLI , [InstrStage<3, [IU2]>]>,
28 InstrItinData<IntRotate , [InstrStage<1, [IU1, IU2, IU3, IU4]>]>,
29 InstrItinData<IntShift , [InstrStage<2, [IU1, IU2, IU3, IU4]>]>,
30 InstrItinData<IntTrapW , [InstrStage<2, [IU1, IU2, IU3, IU4]>]>,
31 InstrItinData<BrB , [InstrStage<1, [BPU]>]>,
32 InstrItinData<BrCR , [InstrStage<2, [IU2]>]>,
33 InstrItinData<BrMCR , [InstrStage<2, [IU2]>]>,
34 InstrItinData<BrMCRX , [InstrStage<2, [IU2]>]>,
35 InstrItinData<LdStDCBF , [InstrStage<3, [SLU]>]>,
36 InstrItinData<LdStDCBI , [InstrStage<3, [SLU]>]>,
37 InstrItinData<LdStGeneral , [InstrStage<3, [SLU]>]>,
38 InstrItinData<LdStDSS , [InstrStage<3, [SLU]>]>,
39 InstrItinData<LdStICBI , [InstrStage<3, [IU2]>]>,
40 InstrItinData<LdStUX , [InstrStage<3, [SLU]>]>,
41 InstrItinData<LdStLFD , [InstrStage<4, [SLU]>]>,
42 InstrItinData<LdStLFDU , [InstrStage<4, [SLU]>]>,
43 InstrItinData<LdStLHA , [InstrStage<3, [SLU]>]>,
44 InstrItinData<LdStLMW , [InstrStage<37, [SLU]>]>,
45 InstrItinData<LdStLVecX , [InstrStage<3, [SLU]>]>,
46 InstrItinData<LdStLWA , [InstrStage<3, [SLU]>]>,
47 InstrItinData<LdStLWARX , [InstrStage<3, [SLU]>]>,
48 InstrItinData<LdStSTD , [InstrStage<3, [SLU]>]>,
49 InstrItinData<LdStSTDCX , [InstrStage<3, [SLU]>]>,
50 InstrItinData<LdStSTVEBX , [InstrStage<3, [SLU]>]>,
51 InstrItinData<LdStSTWCX , [InstrStage<3, [SLU]>]>,
52 InstrItinData<LdStSync , [InstrStage<35, [SLU]>]>,
53 InstrItinData<SprISYNC , [InstrStage<0, [IU1, IU2, IU3, IU4]>]>,
54 InstrItinData<SprMFSR , [InstrStage<4, [IU2]>]>,
55 InstrItinData<SprMTMSR , [InstrStage<2, [IU2]>]>,
56 InstrItinData<SprMTSR , [InstrStage<2, [IU2]>]>,
57 InstrItinData<SprTLBSYNC , [InstrStage<3, [SLU]>]>,
58 InstrItinData<SprMFCR , [InstrStage<2, [IU2]>]>,
59 InstrItinData<SprMFMSR , [InstrStage<3, [IU2]>]>,
60 InstrItinData<SprMFSPR , [InstrStage<4, [IU2]>]>,
61 InstrItinData<SprMFTB , [InstrStage<5, [IU2]>]>,
62 InstrItinData<SprMTSPR , [InstrStage<2, [IU2]>]>,
63 InstrItinData<SprMTSRIN , [InstrStage<2, [IU2]>]>,
64 InstrItinData<SprRFI , [InstrStage<1, [IU1, IU2, IU3, IU4]>]>,
65 InstrItinData<SprSC , [InstrStage<0, [IU1, IU2, IU3, IU4]>]>,
66 InstrItinData<FPGeneral , [InstrStage<5, [FPU1]>]>,
67 InstrItinData<FPCompare , [InstrStage<5, [FPU1]>]>,
68 InstrItinData<FPDivD , [InstrStage<35, [FPU1]>]>,
69 InstrItinData<FPDivS , [InstrStage<21, [FPU1]>]>,
70 InstrItinData<FPFused , [InstrStage<5, [FPU1]>]>,
71 InstrItinData<FPRes , [InstrStage<14, [FPU1]>]>,
72 InstrItinData<VecGeneral , [InstrStage<1, [VIU1]>]>,
73 InstrItinData<VecFP , [InstrStage<4, [VFPU]>]>,
74 InstrItinData<VecFPCompare, [InstrStage<2, [VFPU]>]>,
75 InstrItinData<VecComplex , [InstrStage<4, [VIU2]>]>,
76 InstrItinData<VecPerm , [InstrStage<2, [VPU]>]>,
77 InstrItinData<VecFPRound , [InstrStage<4, [VIU1]>]>,
78 InstrItinData<VecVSL , [InstrStage<2, [VPU]>]>,
79 InstrItinData<VecVSR , [InstrStage<2, [VPU]>]>