1*0b57cec5SDimitry Andric//===-- PPCScheduleG3.td - PPC G3 Scheduling Definitions ---*- tablegen -*-===// 2*0b57cec5SDimitry Andric// 3*0b57cec5SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*0b57cec5SDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 5*0b57cec5SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*0b57cec5SDimitry Andric// 7*0b57cec5SDimitry Andric//===----------------------------------------------------------------------===// 8*0b57cec5SDimitry Andric// 9*0b57cec5SDimitry Andric// This file defines the itinerary class data for the G3 (750) processor. 10*0b57cec5SDimitry Andric// 11*0b57cec5SDimitry Andric//===----------------------------------------------------------------------===// 12*0b57cec5SDimitry Andric 13*0b57cec5SDimitry Andricdef G3_BPU : FuncUnit; // Branch unit 14*0b57cec5SDimitry Andricdef G3_SLU : FuncUnit; // Store/load unit 15*0b57cec5SDimitry Andricdef G3_SRU : FuncUnit; // special register unit 16*0b57cec5SDimitry Andricdef G3_IU1 : FuncUnit; // integer unit 1 (simple) 17*0b57cec5SDimitry Andricdef G3_IU2 : FuncUnit; // integer unit 2 (complex) 18*0b57cec5SDimitry Andricdef G3_FPU1 : FuncUnit; // floating point unit 1 19*0b57cec5SDimitry Andric 20*0b57cec5SDimitry Andricdef G3Itineraries : ProcessorItineraries< 21*0b57cec5SDimitry Andric [G3_IU1, G3_IU2, G3_FPU1, G3_BPU, G3_SRU, G3_SLU], [], [ 22*0b57cec5SDimitry Andric InstrItinData<IIC_IntSimple , [InstrStage<1, [G3_IU1, G3_IU2]>]>, 23*0b57cec5SDimitry Andric InstrItinData<IIC_IntGeneral , [InstrStage<1, [G3_IU1, G3_IU2]>]>, 24*0b57cec5SDimitry Andric InstrItinData<IIC_IntCompare , [InstrStage<1, [G3_IU1, G3_IU2]>]>, 25*0b57cec5SDimitry Andric InstrItinData<IIC_IntDivW , [InstrStage<19, [G3_IU1]>]>, 26*0b57cec5SDimitry Andric InstrItinData<IIC_IntMFFS , [InstrStage<1, [G3_FPU1]>]>, 27*0b57cec5SDimitry Andric InstrItinData<IIC_IntMTFSB0 , [InstrStage<3, [G3_FPU1]>]>, 28*0b57cec5SDimitry Andric InstrItinData<IIC_IntMulHW , [InstrStage<5, [G3_IU1]>]>, 29*0b57cec5SDimitry Andric InstrItinData<IIC_IntMulHWU , [InstrStage<6, [G3_IU1]>]>, 30*0b57cec5SDimitry Andric InstrItinData<IIC_IntMulLI , [InstrStage<3, [G3_IU1]>]>, 31*0b57cec5SDimitry Andric InstrItinData<IIC_IntRotate , [InstrStage<1, [G3_IU1, G3_IU2]>]>, 32*0b57cec5SDimitry Andric InstrItinData<IIC_IntShift , [InstrStage<1, [G3_IU1, G3_IU2]>]>, 33*0b57cec5SDimitry Andric InstrItinData<IIC_IntTrapW , [InstrStage<2, [G3_IU1, G3_IU2]>]>, 34*0b57cec5SDimitry Andric InstrItinData<IIC_BrB , [InstrStage<1, [G3_BPU]>]>, 35*0b57cec5SDimitry Andric InstrItinData<IIC_BrCR , [InstrStage<1, [G3_SRU]>]>, 36*0b57cec5SDimitry Andric InstrItinData<IIC_BrMCR , [InstrStage<1, [G3_SRU]>]>, 37*0b57cec5SDimitry Andric InstrItinData<IIC_BrMCRX , [InstrStage<1, [G3_SRU]>]>, 38*0b57cec5SDimitry Andric InstrItinData<IIC_LdStDCBA , [InstrStage<2, [G3_SLU]>]>, 39*0b57cec5SDimitry Andric InstrItinData<IIC_LdStDCBF , [InstrStage<3, [G3_SLU]>]>, 40*0b57cec5SDimitry Andric InstrItinData<IIC_LdStDCBI , [InstrStage<3, [G3_SLU]>]>, 41*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLoad , [InstrStage<2, [G3_SLU]>]>, 42*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLoadUpd , [InstrStage<2, [G3_SLU]>]>, 43*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLoadUpdX, [InstrStage<2, [G3_SLU]>]>, 44*0b57cec5SDimitry Andric InstrItinData<IIC_LdStStore , [InstrStage<2, [G3_SLU]>]>, 45*0b57cec5SDimitry Andric InstrItinData<IIC_LdStSTU , [InstrStage<2, [G3_SLU]>]>, 46*0b57cec5SDimitry Andric InstrItinData<IIC_LdStSTUX , [InstrStage<2, [G3_SLU]>]>, 47*0b57cec5SDimitry Andric InstrItinData<IIC_LdStICBI , [InstrStage<3, [G3_SLU]>]>, 48*0b57cec5SDimitry Andric InstrItinData<IIC_LdStSTFD , [InstrStage<2, [G3_SLU]>]>, 49*0b57cec5SDimitry Andric InstrItinData<IIC_LdStSTFDU , [InstrStage<2, [G3_SLU]>]>, 50*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLFD , [InstrStage<2, [G3_SLU]>]>, 51*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLFDU , [InstrStage<2, [G3_SLU]>]>, 52*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLFDUX , [InstrStage<2, [G3_SLU]>]>, 53*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLHA , [InstrStage<2, [G3_SLU]>]>, 54*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLHAU , [InstrStage<2, [G3_SLU]>]>, 55*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLHAUX , [InstrStage<2, [G3_SLU]>]>, 56*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLMW , [InstrStage<34, [G3_SLU]>]>, 57*0b57cec5SDimitry Andric InstrItinData<IIC_LdStLWARX , [InstrStage<3, [G3_SLU]>]>, 58*0b57cec5SDimitry Andric InstrItinData<IIC_LdStSTWCX , [InstrStage<8, [G3_SLU]>]>, 59*0b57cec5SDimitry Andric InstrItinData<IIC_LdStSync , [InstrStage<3, [G3_SLU]>]>, 60*0b57cec5SDimitry Andric InstrItinData<IIC_SprISYNC , [InstrStage<2, [G3_SRU]>]>, 61*0b57cec5SDimitry Andric InstrItinData<IIC_SprMFSR , [InstrStage<3, [G3_SRU]>]>, 62*0b57cec5SDimitry Andric InstrItinData<IIC_SprMTMSR , [InstrStage<1, [G3_SRU]>]>, 63*0b57cec5SDimitry Andric InstrItinData<IIC_SprMTSR , [InstrStage<2, [G3_SRU]>]>, 64*0b57cec5SDimitry Andric InstrItinData<IIC_SprTLBSYNC , [InstrStage<3, [G3_SRU]>]>, 65*0b57cec5SDimitry Andric InstrItinData<IIC_SprMFCR , [InstrStage<1, [G3_SRU]>]>, 66*0b57cec5SDimitry Andric InstrItinData<IIC_SprMFMSR , [InstrStage<1, [G3_SRU]>]>, 67*0b57cec5SDimitry Andric InstrItinData<IIC_SprMFSPR , [InstrStage<3, [G3_SRU]>]>, 68*0b57cec5SDimitry Andric InstrItinData<IIC_SprMFTB , [InstrStage<3, [G3_SRU]>]>, 69*0b57cec5SDimitry Andric InstrItinData<IIC_SprMTSPR , [InstrStage<2, [G3_SRU]>]>, 70*0b57cec5SDimitry Andric InstrItinData<IIC_SprMTSRIN , [InstrStage<2, [G3_SRU]>]>, 71*0b57cec5SDimitry Andric InstrItinData<IIC_SprRFI , [InstrStage<2, [G3_SRU]>]>, 72*0b57cec5SDimitry Andric InstrItinData<IIC_SprSC , [InstrStage<2, [G3_SRU]>]>, 73*0b57cec5SDimitry Andric InstrItinData<IIC_FPGeneral , [InstrStage<1, [G3_FPU1]>]>, 74*0b57cec5SDimitry Andric InstrItinData<IIC_FPAddSub , [InstrStage<1, [G3_FPU1]>]>, 75*0b57cec5SDimitry Andric InstrItinData<IIC_FPCompare , [InstrStage<1, [G3_FPU1]>]>, 76*0b57cec5SDimitry Andric InstrItinData<IIC_FPDivD , [InstrStage<31, [G3_FPU1]>]>, 77*0b57cec5SDimitry Andric InstrItinData<IIC_FPDivS , [InstrStage<17, [G3_FPU1]>]>, 78*0b57cec5SDimitry Andric InstrItinData<IIC_FPFused , [InstrStage<2, [G3_FPU1]>]>, 79*0b57cec5SDimitry Andric InstrItinData<IIC_FPRes , [InstrStage<10, [G3_FPU1]>]> 80*0b57cec5SDimitry Andric]>; 81