Merge branch 'master' into msp430
[llvm/msp430.git] / lib / Target / Alpha / Alpha.td
blobe3748c6a09f397da712f25fdf53ce2dced8fdc9d
1 //===- Alpha.td - Describe the Alpha Target Machine --------*- tablegen -*-===//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 // 
8 //===----------------------------------------------------------------------===//
9 //
11 //===----------------------------------------------------------------------===//
13 // Get the target-independent interfaces which we are implementing...
15 include "llvm/Target/Target.td"
17 //Alpha is little endian
19 //===----------------------------------------------------------------------===//
20 // Subtarget Features
21 //===----------------------------------------------------------------------===//
23 def FeatureCIX : SubtargetFeature<"cix", "HasCT", "true",
24                                   "Enable CIX extentions">;
26 //===----------------------------------------------------------------------===//
27 // Register File Description
28 //===----------------------------------------------------------------------===//
30 include "AlphaRegisterInfo.td"
32 //===----------------------------------------------------------------------===//
33 // Schedule Description
34 //===----------------------------------------------------------------------===//
36 include "AlphaSchedule.td"
38 //===----------------------------------------------------------------------===//
39 // Instruction Descriptions
40 //===----------------------------------------------------------------------===//
42 include "AlphaInstrInfo.td"
44 def AlphaInstrInfo : InstrInfo {
45   // Define how we want to layout our target-specific information field.
46  // let TSFlagsFields = [];
47  // let TSFlagsShifts = [];
50 //===----------------------------------------------------------------------===//
51 // Alpha Processor Definitions
52 //===----------------------------------------------------------------------===//
54 def : Processor<"generic", Alpha21264Itineraries, []>;
55 def : Processor<"ev6"    , Alpha21264Itineraries, []>;
56 def : Processor<"ev67"   , Alpha21264Itineraries, [FeatureCIX]>;
58 //===----------------------------------------------------------------------===//
59 // The Alpha Target
60 //===----------------------------------------------------------------------===//
63 def Alpha : Target {
64   // Pull in Instruction Info:
65   let InstructionSet = AlphaInstrInfo;