-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JIT.Regression\JitBlue\Runtime_31615\Runtime_31615\Runtime_31615 fails #79170
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue Details
Failed in many PRs
|
Looks like failures are all Windows x86 R2R |
First failure was https://dev.azure.com/dnceng-public/public/_build/results?buildId=93803&view=results (runtime-coreclr outerloop build 20221125.2) |
Maybe due to #76491? cc @SingleAccretion @dotnet/jit-contrib |
I will take a look tomorrow. |
If I run the test using
(this is the actual failure, not the "Actual: False") |
Tracking: dotnet#79170
Note: test has been disabled and must be re-enabled when this is fixed. |
I investigated this a bit. #76491 (I assume) exposed a bug that manifests as us getting the address for [MethodImpl(MethodImplOptions.NoInlining)]
private static Vector4 Problem()
{
Vector4 r = new Vector4();
r.X = 10f;
r.Y = 20f;
r.Z = 30f;
r.W = 40f;
return r;
} --- C:\Users\Accretion\source\dotnet\RyuJit\RyuJitReproduction\Program.cs ------
Vector4 r = new Vector4();
5B7018A0 int 3
5B7018A1 ?? ??????
Vector4 r = new Vector4();
5B7018A2 cmp ah,byte ptr [ecx]
5B7018A4 add eax,offset RyuJitReproduction.Program.Problem()+0458Fh (5B705E2Fh)
5B7018A9 push cs
r.Y = 20f;
5B7018AA insertps xmm0,dword ptr [RyuJitReproduction.Program.Problem()+0459Fh (5B705E3Fh)],10h
r.Z = 30f; ; Notice the misaligned address
5B7018B4 insertps xmm0,dword ptr [RyuJitReproduction.Program.Problem()+045AFh (5B705E4Fh)],20h
r.W = 40f; ; Notice the misaligned address
5B7018BE insertps xmm0,dword ptr [RyuJitReproduction.Program.Problem()+045BFh (5B705E5Fh)],30h
return r; ; Notice the misaligned address
5B7018C8 movups xmmword ptr [ecx],xmm0 Notable: only reproduces without VEX encoding on x86 (hence the particular nature of failures). Not yet clear where the actual bug is or how the fix looks like. |
This matches what ngen did, and makes sense since only IP-relative relocations need to addlDelta to determine the address of the next instruction. Fixes dotnet#79170
Failed in many PRs
The text was updated successfully, but these errors were encountered: