2009-06-19 09:51:50 +08:00
|
|
|
//===- ARMSchedule.td - ARM Scheduling Definitions ---------*- tablegen -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Functional units across ARM processors
|
|
|
|
//
|
2009-08-10 23:56:13 +08:00
|
|
|
def FU_Pipe0 : FuncUnit; // pipeline 0 issue
|
|
|
|
def FU_Pipe1 : FuncUnit; // pipeline 1 issue
|
|
|
|
def FU_LdSt0 : FuncUnit; // pipeline 0 load/store
|
|
|
|
def FU_LdSt1 : FuncUnit; // pipeline 1 load/store
|
2009-06-19 09:51:50 +08:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Instruction Itinerary classes used for ARM
|
|
|
|
//
|
|
|
|
def IIC_iALU : InstrItinClass;
|
|
|
|
def IIC_iLoad : InstrItinClass;
|
|
|
|
def IIC_iStore : InstrItinClass;
|
|
|
|
def IIC_fpALU : InstrItinClass;
|
|
|
|
def IIC_fpLoad : InstrItinClass;
|
|
|
|
def IIC_fpStore : InstrItinClass;
|
|
|
|
def IIC_Br : InstrItinClass;
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Processor instruction itineraries.
|
|
|
|
|
2009-08-10 23:56:13 +08:00
|
|
|
def GenericItineraries : ProcessorItineraries<[
|
|
|
|
InstrItinData<IIC_iALU , [InstrStage<1, [FU_Pipe0]>]>,
|
|
|
|
InstrItinData<IIC_iLoad , [InstrStage<1, [FU_Pipe0]>, InstrStage<1, [FU_LdSt0]>]>,
|
|
|
|
InstrItinData<IIC_fpLoad , [InstrStage<1, [FU_Pipe0]>, InstrStage<1, [FU_LdSt0]>]>,
|
|
|
|
InstrItinData<IIC_iStore , [InstrStage<1, [FU_Pipe0]>]>,
|
|
|
|
InstrItinData<IIC_fpStore , [InstrStage<1, [FU_Pipe0]>]>,
|
|
|
|
InstrItinData<IIC_fpALU , [InstrStage<1, [FU_Pipe0]>]>,
|
|
|
|
InstrItinData<IIC_Br , [InstrStage<1, [FU_Pipe0]>]>
|
|
|
|
]>;
|
|
|
|
|
2009-06-19 09:51:50 +08:00
|
|
|
|
|
|
|
include "ARMScheduleV6.td"
|
2009-07-22 02:54:14 +08:00
|
|
|
include "ARMScheduleV7.td"
|