-
Notifications
You must be signed in to change notification settings - Fork 5.2k
JIT: Remove LclVarDsc::lvExactSize and LclVarDsc::lvSIMDType #83307
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
Turn these into functions.
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsTurn these into functions.
|
|
Diffs look to be because we were forgetting to set runtime/src/coreclr/jit/simd.cpp Line 120 in 5265218
That means it wasn't being aligned in the stack frame before. |
This reverts commit 7105b0d.
|
Diffs. As mentioned above, diffs are due to some more alignment for some SIMD locals. It is also a slight TP regression (0.02% to 0.05% in minopts, 0.08% to 0.10% in FullOpts) to remove this since calling cc @dotnet/jit-contrib |
EgorBo
left a comment
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.
LGTM, LclVarDsc is fairly sensitive to changes, e.g. I locally re-shuffled some fields in it and got -0.25% TP improvement while keeping size the same, will file a PR to cover TP regressions you hit
I think we can just ignore these kinds of TP regressions, that's what we've done previously. If the native compiler decides that it is more efficient to emit shifts/adds instead of Edit: Ah, I just realized you probably meant the actual TP regressions from calling |
Turn these into functions.
LclVarDscshrinks by 8 bytes on win-x64, diff of layout: https://www.diffchecker.com/YcUPNTpu