File tree Expand file tree Collapse file tree 6 files changed +835
-210
lines changed Expand file tree Collapse file tree 6 files changed +835
-210
lines changed Original file line number Diff line number Diff line change @@ -29540,7 +29540,7 @@ var_types GenTreeHWIntrinsic::GetLookupTypeForCmpOp(
29540
29540
{
29541
29541
case GT_EQ:
29542
29542
{
29543
- if (simdSize == 64)
29543
+ if (( simdSize == 64) || (comp->opts.OptimizationEnabled() && comp->canUseEvexEncoding()) )
29544
29544
{
29545
29545
lookupType = TYP_MASK;
29546
29546
}
@@ -29551,7 +29551,8 @@ var_types GenTreeHWIntrinsic::GetLookupTypeForCmpOp(
29551
29551
case GT_LE:
29552
29552
case GT_NE:
29553
29553
{
29554
- if ((simdSize == 64) || (varTypeIsIntegral(simdBaseType) && comp->canUseEvexEncoding()))
29554
+ if ((simdSize == 64) ||
29555
+ ((comp->opts.OptimizationEnabled() || varTypeIsIntegral(simdBaseType)) && comp->canUseEvexEncoding()))
29555
29556
{
29556
29557
lookupType = TYP_MASK;
29557
29558
}
@@ -29561,7 +29562,8 @@ var_types GenTreeHWIntrinsic::GetLookupTypeForCmpOp(
29561
29562
case GT_GT:
29562
29563
case GT_LT:
29563
29564
{
29564
- if ((simdSize == 64) || (varTypeIsUnsigned(simdBaseType) && comp->canUseEvexEncoding()))
29565
+ if ((simdSize == 64) ||
29566
+ ((comp->opts.OptimizationEnabled() || varTypeIsUnsigned(simdBaseType)) && comp->canUseEvexEncoding()))
29565
29567
{
29566
29568
lookupType = TYP_MASK;
29567
29569
}
Original file line number Diff line number Diff line change @@ -546,12 +546,11 @@ struct HWIntrinsicInfo
546
546
static bool isScalarIsa (CORINFO_InstructionSet isa);
547
547
548
548
#ifdef TARGET_XARCH
549
- static bool isAVX2GatherIntrinsic (NamedIntrinsic id);
550
- static FloatComparisonMode lookupFloatComparisonModeForSwappedArgs (FloatComparisonMode comparison);
551
- static NamedIntrinsic lookupIdForFloatComparisonMode (NamedIntrinsic intrinsic,
552
- FloatComparisonMode comparison,
553
- var_types simdBaseType,
554
- unsigned simdSize);
549
+ static bool isAVX2GatherIntrinsic (NamedIntrinsic id);
550
+ static NamedIntrinsic lookupIdForFloatComparisonMode (NamedIntrinsic intrinsic,
551
+ FloatComparisonMode comparison,
552
+ var_types simdBaseType,
553
+ unsigned simdSize);
555
554
#endif
556
555
557
556
// Member lookup
You can’t perform that action at this time.
0 commit comments