aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-23 22:08:45 +0000
committerChris Lattner <sabre@nondot.org>2005-10-23 22:08:45 +0000
commit5882e40dedb6c4e12ca917e08280d7100a1d4681 (patch)
tree2c915403b733c4697c3a89d6feb13ed41bf7df00
parentc8d28890f6c8b769ad8160fa8a701de31f70cfad (diff)
Add subtarget feature/processor defns to the .td file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23903 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Alpha/Alpha.td22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/Target/Alpha/Alpha.td b/lib/Target/Alpha/Alpha.td
index 1c01663de0..ae2286c06b 100644
--- a/lib/Target/Alpha/Alpha.td
+++ b/lib/Target/Alpha/Alpha.td
@@ -17,6 +17,13 @@ include "../Target.td"
//Alpha is little endian
//===----------------------------------------------------------------------===//
+// Subtarget Features
+//===----------------------------------------------------------------------===//
+
+def FeatureCIX : SubtargetFeature<"CIX", "Enable CIX extentions">;
+def FeatureFIX : SubtargetFeature<"FIX", "Enable FIX extentions">;
+
+//===----------------------------------------------------------------------===//
// Register File Description
//===----------------------------------------------------------------------===//
@@ -36,6 +43,21 @@ def AlphaInstrInfo : InstrInfo {
// let TSFlagsShifts = [];
}
+//===----------------------------------------------------------------------===//
+// Alpha Processor Definitions
+//===----------------------------------------------------------------------===//
+
+def : Processor<"generic", NoItineraries, []>;
+def : Processor<"pca56" , NoItineraries, []>;
+def : Processor<"ev56" , NoItineraries, []>;
+def : Processor<"ev6" , NoItineraries, [FeatureFIX]>;
+def : Processor<"ev67" , NoItineraries, [FeatureFIX, FeatureCIX]>;
+
+//===----------------------------------------------------------------------===//
+// The Alpha Target
+//===----------------------------------------------------------------------===//
+
+
def Alpha : Target {
// Pointers on Alpha are 64-bits in size.
let PointerType = i64;