2005-02-05 03:24:26 +01:00
|
|
|
//===- Alpha.td - Describe the Alpha Target Machine --------*- tablegen -*-===//
|
2005-01-23 00:41:55 +01:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 21:36:04 +01:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2005-01-23 00:41:55 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
// Get the target-independent interfaces which we are implementing...
|
|
|
|
//
|
|
|
|
include "../Target.td"
|
|
|
|
|
|
|
|
//Alpha is little endian
|
|
|
|
|
2005-10-24 00:08:45 +02:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Subtarget Features
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2007-04-16 16:06:19 +02:00
|
|
|
def FeatureCIX : SubtargetFeature<"cix", "HasCT", "true",
|
2005-10-26 19:28:23 +02:00
|
|
|
"Enable CIX extentions">;
|
2005-10-24 00:08:45 +02:00
|
|
|
|
2005-01-23 00:41:55 +01:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Register File Description
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "AlphaRegisterInfo.td"
|
|
|
|
|
2006-03-09 18:16:45 +01:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Schedule Description
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "AlphaSchedule.td"
|
|
|
|
|
2005-01-23 00:41:55 +01:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Instruction Descriptions
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "AlphaInstrInfo.td"
|
|
|
|
|
|
|
|
def AlphaInstrInfo : InstrInfo {
|
|
|
|
// Define how we want to layout our target-specific information field.
|
|
|
|
// let TSFlagsFields = [];
|
|
|
|
// let TSFlagsShifts = [];
|
|
|
|
}
|
|
|
|
|
2005-10-24 00:08:45 +02:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Alpha Processor Definitions
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2006-03-09 18:16:45 +01:00
|
|
|
def : Processor<"generic", Alpha21264Itineraries, []>;
|
2007-01-24 22:09:16 +01:00
|
|
|
def : Processor<"ev6" , Alpha21264Itineraries, []>;
|
|
|
|
def : Processor<"ev67" , Alpha21264Itineraries, [FeatureCIX]>;
|
2005-10-24 00:08:45 +02:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// The Alpha Target
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
|
2005-01-23 00:41:55 +01:00
|
|
|
def Alpha : Target {
|
|
|
|
// Pull in Instruction Info:
|
|
|
|
let InstructionSet = AlphaInstrInfo;
|
|
|
|
}
|