summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPC.td
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2005-10-26 17:28:23 +0000
committerJim Laskey <jlaskey@mac.com>2005-10-26 17:28:23 +0000
commitf0c2be4d2b6f5b04746efae88e8bc642a864361e (patch)
tree264af6a20a73fe46826741196bc38c5c836e1d7b /lib/Target/PowerPC/PPC.td
parente9f15e538a87dcc92880ebd1ca5c3e88f1e1cb53 (diff)
downloadllvm-f0c2be4d2b6f5b04746efae88e8bc642a864361e.tar.gz
llvm-f0c2be4d2b6f5b04746efae88e8bc642a864361e.tar.bz2
llvm-f0c2be4d2b6f5b04746efae88e8bc642a864361e.tar.xz
Add attribute name and type to SubtargetFeatures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC.td')
-rw-r--r--lib/Target/PowerPC/PPC.td10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/PowerPC/PPC.td b/lib/Target/PowerPC/PPC.td
index 93edd0dc34..1de838f7aa 100644
--- a/lib/Target/PowerPC/PPC.td
+++ b/lib/Target/PowerPC/PPC.td
@@ -19,15 +19,15 @@ include "../Target.td"
// 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">;
//===----------------------------------------------------------------------===//