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

Jim Laskey jlaskey at apple.com
Wed Oct 26 10:28:35 PDT 2005



Changes in directory llvm/lib/Target/PowerPC:

PPC.td updated: 1.9 -> 1.10
---
Log message:

Add attribute name and type to SubtargetFeatures.



---
Diffs of the changes:  (+5 -5)

 PPC.td |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/lib/Target/PowerPC/PPC.td
diff -u llvm/lib/Target/PowerPC/PPC.td:1.9 llvm/lib/Target/PowerPC/PPC.td:1.10
--- llvm/lib/Target/PowerPC/PPC.td:1.9	Sun Oct 23 17:23:45 2005
+++ llvm/lib/Target/PowerPC/PPC.td	Wed Oct 26 12:28:23 2005
@@ -19,15 +19,15 @@
 // PowerPC Subtarget features.
 //
  
-def Feature64Bit     : SubtargetFeature<"64bit",
+def Feature64Bit     : SubtargetFeature<"64bit", "bool", "Is64Bit",
                                         "Enable 64-bit instructions">;
-def Feature64BitRegs : SubtargetFeature<"64bitregs",
+def Feature64BitRegs : SubtargetFeature<"64bitregs", "bool", "Has64BitRegs",
                                         "Enable 64-bit registers [beta]">;
-def FeatureAltivec   : SubtargetFeature<"altivec",
+def FeatureAltivec   : SubtargetFeature<"altivec", "bool", "HasAltivec",
                                         "Enable Altivec instructions">;
-def FeatureGPUL      : SubtargetFeature<"gpul",
+def FeatureGPUL      : SubtargetFeature<"gpul", "bool", "IsGigaProcessor",
                                         "Enable GPUL instructions">;
-def FeatureFSqrt     : SubtargetFeature<"fsqrt",
+def FeatureFSqrt     : SubtargetFeature<"fsqrt", "bool", "HasFSQRT",
                                         "Enable the fsqrt instruction">; 
 
 //===----------------------------------------------------------------------===//






More information about the llvm-commits mailing list