From: Benjamin Kramer Date: Wed, 30 Nov 2011 15:27:46 +0000 (+0000) Subject: X86: Add subtargets for AMD's bulldozer. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2a6cf706501ac2d5a9c7bc3fc1f8e88ca0009dd8;p=oota-llvm.git X86: Add subtargets for AMD's bulldozer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145493 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 62a70166912..dbcbe878d25 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]>;