Skip to content

Commit a4c5ca3

Browse files
committed
Mark SIMD assignments as related to SIMD intrinsics on x86
1 parent 954782a commit a4c5ca3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/coreclr/jit/codegenxarch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ void CodeGen::genMultiRegStoreToSIMDLocal(GenTreeLclVar* lclNode)
19801980
}
19811981
genProduceReg(lclNode);
19821982
#else // !UNIX_AMD64_ABI
1983-
assert(!"Multireg store to SIMD reg not supported on X64 Windows");
1983+
assert(!"Multireg store to SIMD reg not supported on Windows");
19841984
#endif // !UNIX_AMD64_ABI
19851985
}
19861986
#endif // FEATURE_SIMD

src/coreclr/jit/gentree.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6759,9 +6759,9 @@ GenTreeOp* Compiler::gtNewAssignNode(GenTree* dst, GenTree* src)
67596759
}
67606760
dst->gtFlags |= GTF_DONT_CSE;
67616761

6762-
/* Create the assignment node */
6762+
#if defined(FEATURE_SIMD) && !defined(TARGET_X86)
6763+
// TODO-CQ: x86 Windows supports multi-reg returns but not SIMD multi-reg returns
67636764

6764-
#if FEATURE_SIMD
67656765
if (varTypeIsSIMD(dst->gtType))
67666766
{
67676767
// We want to track SIMD assignments as being intrinsics since they
@@ -6773,6 +6773,8 @@ GenTreeOp* Compiler::gtNewAssignNode(GenTree* dst, GenTree* src)
67736773
}
67746774
#endif // FEATURE_SIMD
67756775

6776+
/* Create the assignment node */
6777+
67766778
GenTreeOp* asg = gtNewOperNode(GT_ASG, dst->TypeGet(), dst, src)->AsOp();
67776779

67786780
/* Mark the expression as containing an assignment */

0 commit comments

Comments
 (0)