[llvm-commits] CVS: llvm/lib/Target/Alpha/Alpha.td

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 23 15:08:56 PDT 2005



Changes in directory llvm/lib/Target/Alpha:

Alpha.td updated: 1.4 -> 1.5
---
Log message:

Add subtarget feature/processor defns to the .td file


---
Diffs of the changes:  (+22 -0)

 Alpha.td |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+)


Index: llvm/lib/Target/Alpha/Alpha.td
diff -u llvm/lib/Target/Alpha/Alpha.td:1.4 llvm/lib/Target/Alpha/Alpha.td:1.5
--- llvm/lib/Target/Alpha/Alpha.td:1.4	Thu Jun 23 18:42:05 2005
+++ llvm/lib/Target/Alpha/Alpha.td	Sun Oct 23 17:08:45 2005
@@ -17,6 +17,13 @@
 //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 @@
  // 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;






More information about the llvm-commits mailing list