Add FeatureLAHFSAHF to amdfam10 as well.
authorHans Wennborg <hans@hanshq.net>
Fri, 4 Dec 2015 23:32:19 +0000 (23:32 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 4 Dec 2015 23:32:19 +0000 (23:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254801 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.td

index dc5ab1b..7fc4def 100644 (file)
@@ -558,7 +558,7 @@ def : Proc<"athlon64-sse3",   [FeatureSlowUAMem16, FeatureSSE3,   Feature3DNowA,
                                FeatureSlowSHLD]>;
 def : Proc<"amdfam10",        [FeatureSSE4A, Feature3DNowA, FeatureFXSR,
                                FeatureCMPXCHG16B, FeatureLZCNT, FeaturePOPCNT,
-                               FeatureSlowBTMem, FeatureSlowSHLD]>;
+                               FeatureSlowBTMem, FeatureSlowSHLD, FeatureLAHFSAHF]>;
 def : Proc<"barcelona",       [FeatureSSE4A, Feature3DNowA, FeatureFXSR,
                                FeatureCMPXCHG16B, FeatureLZCNT, FeaturePOPCNT,
                                FeatureSlowBTMem, FeatureSlowSHLD, FeatureLAHFSAHF]>;