3DNowA implies 3DNow. 64-bit implies SSE1, SSE2, and I assume MMX.
authorBill Wendling <isanbard@gmail.com>
Sun, 6 May 2007 07:56:19 +0000 (07:56 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 6 May 2007 07:56:19 +0000 (07:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36860 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.td

index 89cb749d6461b257be2ad3925cbd53adcc55c6e2..89a99a447ddf7ca6697ce820ddc8856796566459 100644 (file)
@@ -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.