Fixed some bugs.
[llvm/zpu.git] / lib / Target / Alpha / Alpha.td
blob4508eda897d2b98aacbcd419ab00ce53754d8869
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 // Calling Convention Description
34 //===----------------------------------------------------------------------===//
36 include "AlphaCallingConv.td"
38 //===----------------------------------------------------------------------===//
39 // Schedule Description
40 //===----------------------------------------------------------------------===//
42 include "AlphaSchedule.td"
44 //===----------------------------------------------------------------------===//
45 // Instruction Descriptions
46 //===----------------------------------------------------------------------===//
48 include "AlphaInstrInfo.td"
50 def AlphaInstrInfo : InstrInfo;
52 //===----------------------------------------------------------------------===//
53 // Alpha Processor Definitions
54 //===----------------------------------------------------------------------===//
56 def : Processor<"generic", Alpha21264Itineraries, []>;
57 def : Processor<"ev6"    , Alpha21264Itineraries, []>;
58 def : Processor<"ev67"   , Alpha21264Itineraries, [FeatureCIX]>;
60 //===----------------------------------------------------------------------===//
61 // The Alpha Target
62 //===----------------------------------------------------------------------===//
65 def Alpha : Target {
66   // Pull in Instruction Info:
67   let InstructionSet = AlphaInstrInfo;