diff options
author | Craig Topper <craig.topper@gmail.com> | 2011-12-29 15:51:45 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2011-12-29 15:51:45 +0000 |
commit | d4d3513d377c1ee93179810652c539027bbe64bc (patch) | |
tree | e78d78150f8850850b63541d1a4f38606b24133b /lib | |
parent | 19ec2a9db1c6105715a5517522671659286dbae3 (diff) | |
download | llvm-d4d3513d377c1ee93179810652c539027bbe64bc.tar.gz llvm-d4d3513d377c1ee93179810652c539027bbe64bc.tar.bz2 llvm-d4d3513d377c1ee93179810652c539027bbe64bc.tar.xz |
Make SSE42 and SSE4A not imply POPCNT. POPCNT should be able to be disabled on its own without disabling SSE4.2 or SSE4A.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147339 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86.td | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 8229ca5444..ad3b3aa01c 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -55,7 +55,7 @@ def FeatureSSE41 : SubtargetFeature<"sse41", "X86SSELevel", "SSE41", [FeatureSSSE3]>; def FeatureSSE42 : SubtargetFeature<"sse42", "X86SSELevel", "SSE42", "Enable SSE 4.2 instructions", - [FeatureSSE41, FeaturePOPCNT]>; + [FeatureSSE41]>; def Feature3DNow : SubtargetFeature<"3dnow", "X863DNowLevel", "ThreeDNow", "Enable 3DNow! instructions", [FeatureMMX]>; @@ -77,8 +77,7 @@ def FeatureFastUAMem : SubtargetFeature<"fast-unaligned-mem", "IsUAMemFast", "true", "Fast unaligned memory access">; def FeatureSSE4A : SubtargetFeature<"sse4a", "HasSSE4A", "true", - "Support SSE 4a instructions", - [FeaturePOPCNT]>; + "Support SSE 4a instructions">; def FeatureAVX : SubtargetFeature<"avx", "HasAVX", "true", "Enable AVX instructions">; |