mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Patch to enable FMA on bdver2 target. Make XOP feature enable FMA4 as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162012 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e7a01cb42
commit
9418f17652
@ -97,7 +97,7 @@ def FeatureFMA4 : SubtargetFeature<"fma4", "HasFMA4", "true",
|
|||||||
[FeatureAVX, FeatureSSE4A]>;
|
[FeatureAVX, FeatureSSE4A]>;
|
||||||
def FeatureXOP : SubtargetFeature<"xop", "HasXOP", "true",
|
def FeatureXOP : SubtargetFeature<"xop", "HasXOP", "true",
|
||||||
"Enable XOP instructions",
|
"Enable XOP instructions",
|
||||||
[FeatureAVX, FeatureSSE4A]>;
|
[FeatureFMA4]>;
|
||||||
def FeatureVectorUAMem : SubtargetFeature<"vector-unaligned-mem",
|
def FeatureVectorUAMem : SubtargetFeature<"vector-unaligned-mem",
|
||||||
"HasVectorUAMem", "true",
|
"HasVectorUAMem", "true",
|
||||||
"Allow unaligned memory operands on vector/SIMD instructions">;
|
"Allow unaligned memory operands on vector/SIMD instructions">;
|
||||||
@ -226,7 +226,7 @@ def : Proc<"bdver1", [FeatureXOP, FeatureFMA4, FeatureCMPXCHG16B,
|
|||||||
def : Proc<"bdver2", [FeatureXOP, FeatureFMA4, FeatureCMPXCHG16B,
|
def : Proc<"bdver2", [FeatureXOP, FeatureFMA4, FeatureCMPXCHG16B,
|
||||||
FeatureAES, FeaturePCLMUL,
|
FeatureAES, FeaturePCLMUL,
|
||||||
FeatureF16C, FeatureLZCNT,
|
FeatureF16C, FeatureLZCNT,
|
||||||
FeaturePOPCNT, FeatureBMI]>;
|
FeaturePOPCNT, FeatureBMI, FeatureFMA]>;
|
||||||
|
|
||||||
def : Proc<"winchip-c6", [FeatureMMX]>;
|
def : Proc<"winchip-c6", [FeatureMMX]>;
|
||||||
def : Proc<"winchip2", [Feature3DNow]>;
|
def : Proc<"winchip2", [Feature3DNow]>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user