From: Craig Topper Date: Tue, 1 May 2012 05:18:13 +0000 (+0000) Subject: Enable AVX and FMA4 for AMD Bulldozer processors. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ed39ac5026aafce014313f2f26cfff164c84efb7;p=oota-llvm.git Enable AVX and FMA4 for AMD Bulldozer processors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155885 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 90a724b7aaa..67b59b28d6c 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -215,16 +215,16 @@ def : Proc<"amdfam10", [FeatureSSE3, FeatureSSE4A, // Bobcat def : Proc<"btver1", [FeatureSSSE3, FeatureSSE4A, FeatureCMPXCHG16B, FeatureLZCNT, FeaturePOPCNT]>; -// FIXME: Disabling AVX/FMA4 for now since it's not ready. // Bulldozer -def : Proc<"bdver1", [FeatureSSE42, FeatureSSE4A, FeatureCMPXCHG16B, +def : Proc<"bdver1", [FeatureAVX, FeatureSSE4A, FeatureCMPXCHG16B, FeatureAES, FeatureCLMUL, - FeatureXOP, FeatureLZCNT, FeaturePOPCNT]>; + FeatureXOP, FeatureLZCNT, FeaturePOPCNT, + FeatureFMA4]>; // Enhanced Bulldozer -def : Proc<"bdver2", [FeatureSSE42, FeatureSSE4A, FeatureCMPXCHG16B, +def : Proc<"bdver2", [FeatureAVX, FeatureSSE4A, FeatureCMPXCHG16B, FeatureAES, FeatureCLMUL, FeatureXOP, FeatureF16C, FeatureLZCNT, - FeaturePOPCNT, FeatureBMI]>; + FeaturePOPCNT, FeatureBMI, FeatureFMA4]>; def : Proc<"winchip-c6", [FeatureMMX]>; def : Proc<"winchip2", [Feature3DNow]>;