mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Add subtarget feature/processor defns to the .td file
llvm-svn: 23903
This commit is contained in:
parent
1e815394b4
commit
7d49317182
@ -16,6 +16,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;
|
||||
|
Loading…
Reference in New Issue
Block a user