summaryrefslogtreecommitdiff
path: root/llvm/lib/Target/Sparc/Sparc.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Sparc/Sparc.td')
-rw-r--r--llvm/lib/Target/Sparc/Sparc.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.td b/llvm/lib/Target/Sparc/Sparc.td
index cee671e34951..7137e5fbff4f 100644
--- a/llvm/lib/Target/Sparc/Sparc.td
+++ b/llvm/lib/Target/Sparc/Sparc.td
@@ -34,6 +34,9 @@ def FeatureNoFMULS
def FeatureV9
: SubtargetFeature<"v9", "IsV9", "true",
"Enable SPARC-V9 instructions">;
+def Feature64Bit : SubtargetFeature<"64bit", "Is64Bit", "true",
+ "Enable 64-bit mode", [FeatureV9]>;
+
def FeatureV8Plus
: SubtargetFeature<"v8plus", "IsV8Plus", "true",
"Enable V8+ mode, allowing use of 64-bit V9 instructions in 32-bit code">;