Misha Brukman | 2a8350a | 2005-02-05 02:24:26 +0000 | [diff] [blame] | 1 | //===- Alpha.td - Describe the Alpha Target Machine --------*- tablegen -*-===// |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 4ee451d | 2007-12-29 20:36:04 +0000 | [diff] [blame^] | 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | // Get the target-independent interfaces which we are implementing... |
| 14 | // |
| 15 | include "../Target.td" |
| 16 | |
| 17 | //Alpha is little endian |
| 18 | |
| 19 | //===----------------------------------------------------------------------===// |
Chris Lattner | 5882e40 | 2005-10-23 22:08:45 +0000 | [diff] [blame] | 20 | // Subtarget Features |
| 21 | //===----------------------------------------------------------------------===// |
| 22 | |
Reid Spencer | 2b85c45 | 2007-04-16 14:06:19 +0000 | [diff] [blame] | 23 | def FeatureCIX : SubtargetFeature<"cix", "HasCT", "true", |
Jim Laskey | f0c2be4 | 2005-10-26 17:28:23 +0000 | [diff] [blame] | 24 | "Enable CIX extentions">; |
Chris Lattner | 5882e40 | 2005-10-23 22:08:45 +0000 | [diff] [blame] | 25 | |
| 26 | //===----------------------------------------------------------------------===// |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 27 | // Register File Description |
| 28 | //===----------------------------------------------------------------------===// |
| 29 | |
| 30 | include "AlphaRegisterInfo.td" |
| 31 | |
| 32 | //===----------------------------------------------------------------------===// |
Andrew Lenharth | 017c556 | 2006-03-09 17:16:45 +0000 | [diff] [blame] | 33 | // Schedule Description |
| 34 | //===----------------------------------------------------------------------===// |
| 35 | |
| 36 | include "AlphaSchedule.td" |
| 37 | |
| 38 | //===----------------------------------------------------------------------===// |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 39 | // Instruction Descriptions |
| 40 | //===----------------------------------------------------------------------===// |
| 41 | |
| 42 | include "AlphaInstrInfo.td" |
| 43 | |
| 44 | def AlphaInstrInfo : InstrInfo { |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 45 | // Define how we want to layout our target-specific information field. |
| 46 | // let TSFlagsFields = []; |
| 47 | // let TSFlagsShifts = []; |
| 48 | } |
| 49 | |
Chris Lattner | 5882e40 | 2005-10-23 22:08:45 +0000 | [diff] [blame] | 50 | //===----------------------------------------------------------------------===// |
| 51 | // Alpha Processor Definitions |
| 52 | //===----------------------------------------------------------------------===// |
| 53 | |
Andrew Lenharth | 017c556 | 2006-03-09 17:16:45 +0000 | [diff] [blame] | 54 | def : Processor<"generic", Alpha21264Itineraries, []>; |
Andrew Lenharth | 3553d86 | 2007-01-24 21:09:16 +0000 | [diff] [blame] | 55 | def : Processor<"ev6" , Alpha21264Itineraries, []>; |
| 56 | def : Processor<"ev67" , Alpha21264Itineraries, [FeatureCIX]>; |
Chris Lattner | 5882e40 | 2005-10-23 22:08:45 +0000 | [diff] [blame] | 57 | |
| 58 | //===----------------------------------------------------------------------===// |
| 59 | // The Alpha Target |
| 60 | //===----------------------------------------------------------------------===// |
| 61 | |
| 62 | |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 63 | def Alpha : Target { |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 64 | // Pull in Instruction Info: |
| 65 | let InstructionSet = AlphaInstrInfo; |
| 66 | } |