mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-07 10:07:17 +00:00
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
This commit is contained in:
parent
c8d28890f6
commit
5882e40ded
@ -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…
x
Reference in New Issue
Block a user