aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86.td
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-30 15:27:46 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-30 15:27:46 +0000
commit2a6cf706501ac2d5a9c7bc3fc1f8e88ca0009dd8 (patch)
tree01c627ba3ad5acce4e7661473d3980c8062bb788 /lib/Target/X86/X86.td
parentf3993125b1b12000ee258f01068e250e56eff7fe (diff)
X86: Add subtargets for AMD's bulldozer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86.td')
-rw-r--r--lib/Target/X86/X86.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td
index 62a7016691..dbcbe878d2 100644
--- a/lib/Target/X86/X86.td
+++ b/lib/Target/X86/X86.td
@@ -202,6 +202,12 @@ def : Proc<"barcelona", [FeatureSSE3, FeatureSSE4A,
def : Proc<"istanbul", [Feature3DNowA, FeatureCMPXCHG16B,
FeatureSSE4A]>;
def : Proc<"shanghai", [Feature3DNowA, FeatureCMPXCHG16B, FeatureSSE4A]>;
+// FIXME: Disabling AVX for now since it's not ready.
+def : Proc<"bdver1", [FeatureSSE3, FeatureSSE4A, FeatureCMPXCHG16B,
+ FeatureAES, FeatureCLMUL, FeatureFMA4]>;
+def : Proc<"bdver2", [FeatureSSE3, FeatureSSE4A, FeatureCMPXCHG16B,
+ FeatureAES, FeatureCLMUL, FeatureFMA4,
+ FeatureF16C, FeatureBMI]>;
def : Proc<"winchip-c6", [FeatureMMX]>;
def : Proc<"winchip2", [Feature3DNow]>;