-
Notifications
You must be signed in to change notification settings - Fork 5.2k
JIT: Fix unrecognized unaligned field indirections on ARM32 #75078
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
Conversation
For large field offsets we need to insert explicit null checks. This was breaking recognition of unaligned accesses that needs special treatment for floating point instructions. Fix dotnet#74260
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsFor large field offsets we need to insert explicit null checks. This was Fix #74260
|
|
@jakobbotsch, once completing this, please backport this to 7.0. |
|
cc @dotnet/jit-contrib PTAL @BruceForstall |
| internal struct FloatNonAlignedFieldWithLargeOffset | ||
| { | ||
| [FieldOffset(1021)] | ||
| [FieldOffset(0x10001)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just making the field offset large enough for the problem to happen even without stress.
|
/backport to release/7.0 |
|
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3013766751 |
For large field offsets we need to insert explicit null checks. This was
breaking recognition of unaligned accesses that needs special treatment
for floating point instructions.
Fix #74260