x64 Windows does not correctly handle __m128 returns. #13523
Labels
arch-x64
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
os-windows
Milestone
The default calling convention for x64 Windows specifies that
__m128
,__m128i
, and__m128d
are returned in XMM0: https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention?view=vs-2019#return-valuesThese types correspond to the
System.Runtime.Intrinsics.Vector128<T>
type on the managed side and it is not currently being returned in XMM0.dotnet/coreclr#23899 adds support for passing
Vector128<T>
across interop boundaries and so this will need to be correctly handled.The text was updated successfully, but these errors were encountered: