2010-08-17 16:20:04 +00:00
|
|
|
//===- MBlazeSchedule.td - MBlaze Scheduling Definitions ---*- tablegen -*-===//
|
2010-02-23 19:15:24 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
2011-04-11 22:31:52 +00:00
|
|
|
// MBlaze functional units.
|
2010-02-23 19:15:24 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
2011-04-11 22:31:52 +00:00
|
|
|
def IF : FuncUnit;
|
|
|
|
def ID : FuncUnit;
|
|
|
|
def EX : FuncUnit;
|
|
|
|
def MA : FuncUnit;
|
|
|
|
def WB : FuncUnit;
|
2010-02-23 19:15:24 +00:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
2010-11-08 19:40:01 +00:00
|
|
|
// Instruction Itinerary classes used for MBlaze
|
2010-02-23 19:15:24 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
2011-04-11 22:31:52 +00:00
|
|
|
def IIC_ALU : InstrItinClass;
|
|
|
|
def IIC_ALUm : InstrItinClass;
|
|
|
|
def IIC_ALUd : InstrItinClass;
|
|
|
|
def IIC_SHT : InstrItinClass;
|
|
|
|
def IIC_FSLg : InstrItinClass;
|
|
|
|
def IIC_FSLp : InstrItinClass;
|
|
|
|
def IIC_MEMs : InstrItinClass;
|
|
|
|
def IIC_MEMl : InstrItinClass;
|
|
|
|
def IIC_FPU : InstrItinClass;
|
|
|
|
def IIC_FPUd : InstrItinClass;
|
|
|
|
def IIC_FPUf : InstrItinClass;
|
|
|
|
def IIC_FPUi : InstrItinClass;
|
|
|
|
def IIC_FPUs : InstrItinClass;
|
|
|
|
def IIC_FPUc : InstrItinClass;
|
|
|
|
def IIC_BR : InstrItinClass;
|
|
|
|
def IIC_BRc : InstrItinClass;
|
|
|
|
def IIC_BRl : InstrItinClass;
|
|
|
|
def IIC_WDC : InstrItinClass;
|
|
|
|
def IIC_Pseudo : InstrItinClass;
|
2010-02-23 19:15:24 +00:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
2011-04-11 22:31:52 +00:00
|
|
|
// MBlaze generic instruction itineraries.
|
2010-02-23 19:15:24 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
2011-04-11 22:31:52 +00:00
|
|
|
def MBlazeGenericItineraries : ProcessorItineraries<[], [], []>;
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// MBlaze instruction itineraries for three stage pipeline.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
include "MBlazeSchedule3.td"
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// MBlaze instruction itineraries for five stage pipeline.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
include "MBlazeSchedule5.td"
|