diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-30 15:48:16 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-30 15:48:16 +0000 |
| commit | 5feb3dab792c8f7fbb96c9e9a584bca1d157f8d7 (patch) | |
| tree | d790d68592a5d30c29cf38ff5ace4838f7663bbb /llvm/lib/Target | |
| parent | 981f32327d078ace229c98b4ce9d597e2755eb1b (diff) | |
| download | bcm5719-llvm-5feb3dab792c8f7fbb96c9e9a584bca1d157f8d7.tar.gz bcm5719-llvm-5feb3dab792c8f7fbb96c9e9a584bca1d157f8d7.zip | |
X86: Turns out bulldozer also supports sse42 and lzcnt.
While at it remove the barcelona/instanbul/shanghai subtargets, they're
unsupported by GCC and look pretty broken.
llvm-svn: 145494
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/X86.td | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td index dbcbe878d25..aa92f084ff2 100644 --- a/llvm/lib/Target/X86/X86.td +++ b/llvm/lib/Target/X86/X86.td @@ -194,20 +194,15 @@ def : Proc<"opteron-sse3", [FeatureSSE3, Feature3DNowA, FeatureCMPXCHG16B, def : Proc<"athlon64-sse3", [FeatureSSE3, Feature3DNowA, FeatureCMPXCHG16B, FeatureSlowBTMem]>; def : Proc<"amdfam10", [FeatureSSE3, FeatureSSE4A, - Feature3DNowA, FeatureCMPXCHG16B, + Feature3DNowA, FeatureCMPXCHG16B, FeatureLZCNT, FeatureSlowBTMem]>; -def : Proc<"barcelona", [FeatureSSE3, FeatureSSE4A, - Feature3DNowA, FeatureCMPXCHG16B, - FeatureSlowBTMem]>; -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, +def : Proc<"bdver1", [FeatureSSE42, FeatureSSE4A, FeatureCMPXCHG16B, + FeatureAES, FeatureCLMUL, FeatureFMA4, + FeatureLZCNT]>; +def : Proc<"bdver2", [FeatureSSE42, FeatureSSE4A, FeatureCMPXCHG16B, FeatureAES, FeatureCLMUL, FeatureFMA4, - FeatureF16C, FeatureBMI]>; + FeatureF16C, FeatureLZCNT, FeatureBMI]>; def : Proc<"winchip-c6", [FeatureMMX]>; def : Proc<"winchip2", [Feature3DNow]>; |

