diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-05-06 07:56:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-05-06 07:56:19 +0000 |
commit | 11d8fdaf6a6f96cb5513ebee34fe2b6bc3ea3e8f (patch) | |
tree | 256a956972ee245e060b69a2dbee9bda81e29c80 | |
parent | bfcc38040b6a0667b7b7df9674d8a0ed1d104814 (diff) |
3DNowA implies 3DNow. 64-bit implies SSE1, SSE2, and I assume MMX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36860 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86.td | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 89cb749d64..89a99a447d 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -20,8 +20,6 @@ include "../Target.td" // X86 Subtarget features. //===----------------------------------------------------------------------===// -def Feature64Bit : SubtargetFeature<"64bit", "HasX86_64", "true", - "Support 64-bit instructions">; def FeatureMMX : SubtargetFeature<"mmx","X86SSELevel", "MMX", "Enable MMX instructions">; def FeatureSSE1 : SubtargetFeature<"sse", "X86SSELevel", "SSE1", @@ -39,7 +37,11 @@ def FeatureSSSE3 : SubtargetFeature<"ssse3", "X86SSELevel", "SSSE3", def Feature3DNow : SubtargetFeature<"3dnow", "X863DNowLevel", "ThreeDNow", "Enable 3DNow! instructions">; def Feature3DNowA : SubtargetFeature<"3dnowa", "X863DNowLevel", "ThreeDNowA", - "Enable 3DNow! Athlon instructions">; + "Enable 3DNow! Athlon instructions", + [Feature3DNow]>; +def Feature64Bit : SubtargetFeature<"64bit", "HasX86_64", "true", + "Support 64-bit instructions", + [FeatureMMX, FeatureSSE1, FeatureSSE2]>; //===----------------------------------------------------------------------===// // X86 processors supported. |