summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPC.td
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2005-10-22 08:04:24 +0000
committerJim Laskey <jlaskey@mac.com>2005-10-22 08:04:24 +0000
commit5476b9bfced0413cc576bf49f539193c702b9574 (patch)
treec5ee7c696d50ca2fdadbcb2b695e19c0756ac051 /lib/Target/PowerPC/PPC.td
parent7dc02047fbb4b014e914458f54ea539c8ae58316 (diff)
downloadllvm-5476b9bfced0413cc576bf49f539193c702b9574.tar.gz
llvm-5476b9bfced0413cc576bf49f539193c702b9574.tar.bz2
llvm-5476b9bfced0413cc576bf49f539193c702b9574.tar.xz
Add g3 back to the mix and reorder to irritate them anal folk. Actually, it's
to group appropriately and provide cues to maintainers that the lists don't need to be ordered. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC.td')
-rw-r--r--lib/Target/PowerPC/PPC.td19
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/Target/PowerPC/PPC.td b/lib/Target/PowerPC/PPC.td
index c714c913fb..d6a26766a8 100644
--- a/lib/Target/PowerPC/PPC.td
+++ b/lib/Target/PowerPC/PPC.td
@@ -26,7 +26,7 @@ include "PPCInstrInfo.td"
//===----------------------------------------------------------------------===//
-// PowerPC Subtarget features (sorted by name).
+// PowerPC Subtarget features.
//
def Feature64Bit : SubtargetFeature<"64bit",
@@ -35,15 +35,16 @@ def Feature64BitRegs : SubtargetFeature<"64bitregs",
"Should 64 bit registers be used">;
def FeatureAltivec : SubtargetFeature<"altivec",
"Should Altivec instructions be used">;
-def FeatureFSqrt : SubtargetFeature<"fsqrt",
- "Should the fsqrt instruction be used">;
def FeatureGPUL : SubtargetFeature<"gpul",
"Should GPUL instructions be used">;
+def FeatureFSqrt : SubtargetFeature<"fsqrt",
+ "Should the fsqrt instruction be used">;
//===----------------------------------------------------------------------===//
-// PowerPC chips sets supported (sorted by name)
+// PowerPC chips sets supported.
//
+def : Processor<"generic", G3Itineraries, []>;
def : Processor<"601", G3Itineraries, []>;
def : Processor<"602", G3Itineraries, []>;
def : Processor<"603", G3Itineraries, []>;
@@ -52,18 +53,18 @@ def : Processor<"603ev", G3Itineraries, []>;
def : Processor<"604", G3Itineraries, []>;
def : Processor<"604e", G3Itineraries, []>;
def : Processor<"620", G3Itineraries, []>;
+def : Processor<"g3", G3Itineraries, []>;
def : Processor<"7400", G4Itineraries, [FeatureAltivec]>;
+def : Processor<"g4", G4Itineraries, [FeatureAltivec]>;
def : Processor<"7450", G4PlusItineraries, [FeatureAltivec]>;
+def : Processor<"g4+", G4PlusItineraries, [FeatureAltivec]>;
def : Processor<"750", G3Itineraries, []>;
def : Processor<"970", G5Itineraries,
[FeatureAltivec, FeatureGPUL, FeatureFSqrt,
- Feature64Bit /*, Feature64BitRegs*/]>;
-def : Processor<"g4", G4Itineraries, [FeatureAltivec]>;
-def : Processor<"g4+", G4PlusItineraries, [FeatureAltivec]>;
+ Feature64Bit /*, Feature64BitRegs */]>;
def : Processor<"g5", G5Itineraries,
[FeatureAltivec, FeatureGPUL, FeatureFSqrt,
- Feature64Bit /*, Feature64BitRegs*/]>;
-def : Processor<"generic", G3Itineraries, []>;
+ Feature64Bit /*, Feature64BitRegs */]>;
def PPC : Target {