[llvm-commits] [llvm] r162012 - /llvm/trunk/lib/Target/X86/X86.td
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Aug 16 15:50:14 PDT 2012
Can you add a test for this?
On 16 August 2012 00:04, Anitha Boyapati <anitha.boyapati at gmail.com> wrote:
> Author: anithab
> Date: Wed Aug 15 23:04:02 2012
> New Revision: 162012
>
> URL: http://llvm.org/viewvc/llvm-project?rev=162012&view=rev
> Log:
> Patch to enable FMA on bdver2 target. Make XOP feature enable FMA4 as well.
>
> Modified:
> llvm/trunk/lib/Target/X86/X86.td
>
> Modified: llvm/trunk/lib/Target/X86/X86.td
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86.td?rev=162012&r1=162011&r2=162012&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/X86.td (original)
> +++ llvm/trunk/lib/Target/X86/X86.td Wed Aug 15 23:04:02 2012
> @@ -97,7 +97,7 @@
> [FeatureAVX, FeatureSSE4A]>;
> def FeatureXOP : SubtargetFeature<"xop", "HasXOP", "true",
> "Enable XOP instructions",
> - [FeatureAVX, FeatureSSE4A]>;
> + [FeatureFMA4]>;
> def FeatureVectorUAMem : SubtargetFeature<"vector-unaligned-mem",
> "HasVectorUAMem", "true",
> "Allow unaligned memory operands on vector/SIMD instructions">;
> @@ -226,7 +226,7 @@
> def : Proc<"bdver2", [FeatureXOP, FeatureFMA4, FeatureCMPXCHG16B,
> FeatureAES, FeaturePCLMUL,
> FeatureF16C, FeatureLZCNT,
> - FeaturePOPCNT, FeatureBMI]>;
> + FeaturePOPCNT, FeatureBMI, FeatureFMA]>;
>
> def : Proc<"winchip-c6", [FeatureMMX]>;
> def : Proc<"winchip2", [Feature3DNow]>;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list