Make SSE42 and SSE4A not imply POPCNT. POPCNT should be able to be disabled on its own without disabling SSE4.2 or SSE4A.
llvm-svn: 147339
This commit is contained in:
		
							parent
							
								
									d1c9c9bbfd
								
							
						
					
					
						commit
						7bd3305f3e
					
				| 
						 | 
				
			
			@ -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">;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue