diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td index 779a16274c431..2d7d4dd14c1ad 100644 --- a/llvm/lib/Target/X86/X86.td +++ b/llvm/lib/Target/X86/X86.td @@ -803,7 +803,18 @@ def ProcessorFeatures { FeatureGFNI, FeatureRDPID, FeatureFSRM]; - list ICLTuning = CNLTuning; + list ICLTuning = [TuningFastGather, + TuningMacroFusion, + TuningSlow3OpsLEA, + TuningSlowDivide64, + TuningFastScalarFSQRT, + TuningFastVectorFSQRT, + TuningFastSHLDRotate, + TuningFast15ByteNOP, + TuningFastVariableCrossLaneShuffle, + TuningFastVariablePerLaneShuffle, + TuningPrefer256Bit, + TuningInsertVZEROUPPER]; list ICLFeatures = !listconcat(CNLFeatures, ICLAdditionalFeatures); @@ -811,7 +822,7 @@ def ProcessorFeatures { list ICXAdditionalFeatures = [FeaturePCONFIG, FeatureCLWB, FeatureWBNOINVD]; - list ICXTuning = CNLTuning; + list ICXTuning = ICLTuning; list ICXFeatures = !listconcat(ICLFeatures, ICXAdditionalFeatures); @@ -821,7 +832,7 @@ def ProcessorFeatures { FeatureMOVDIRI, FeatureMOVDIR64B, FeatureSHSTK]; - list TGLTuning = CNLTuning; + list TGLTuning = ICLTuning; list TGLFeatures = !listconcat(ICLFeatures, TGLAdditionalFeatures );