Skip to content

Commit

Permalink
Correctly handle the Avx10v1 case for shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
khushal1996 committed May 11, 2024
1 parent aa5bf7c commit cefb060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25185,8 +25185,8 @@ GenTree* Compiler::gtNewSimdShuffleNode(
{
assert(compIsaSupportedDebugOnly(InstructionSet_AVX2));

if ((varTypeIsByte(simdBaseType) && !compOpportunisticallyDependsOn(InstructionSet_AVX512VBMI_VL)) ||
(varTypeIsShort(simdBaseType) && !compOpportunisticallyDependsOn(InstructionSet_AVX512BW_VL)) ||
if (((varTypeIsByte(simdBaseType) && !compOpportunisticallyDependsOn(InstructionSet_AVX512VBMI_VL)) ||
(varTypeIsShort(simdBaseType) && !compOpportunisticallyDependsOn(InstructionSet_AVX512BW_VL))) &&
(!compOpportunisticallyDependsOn(InstructionSet_AVX10v1)))
{
if (crossLane)
Expand Down

0 comments on commit cefb060

Please sign in to comment.