You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JIT: (bug) [ARM64] Vector64.ToVector128() zeroing of the upper lanes is dropped by the inverse-mov peephole (wrong code) #135529
On arm64, the mov v0.8b, v8.8b that implements Vector64<int>.ToVector128() (zeroing the upper 64 bits) is removed as redundant after an earlier mov v8.8b, v0.8b, so the upper lanes keep stale data.
Test emits mov v8.8b, v0.8b after GetLow, but the mov v0.8b, v8.8b for ToVector128 before the first Id call is missing.
The "opposite move" case of IsRedundantMov (emitarm64.cpp; the size == EA_8BYTE branch only checks vector/scalar kind) removes the mov v0.8b, v8.8b emitted for ToVector128 (canSkip=false), although the earlier mov v8.8b, v0.8b doesn't imply that the upper lanes of v0 are zero.
Activity
dotnet-policy-service commentedon Oct 9, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
JIT: preserve arm64 vector upper-bit clearing (dotnet#137516)