-
Couldn't load subscription status.
- Fork 5.2k
[mono][interp] Super instruction tweaks #99319
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
|
Tagging subscribers to this area: @BrzVlad, @kotlarmilos Issue Detailsnull
|
| ct = interp_get_const_from_ldc_i8 (def); | ||
| else | ||
| return FALSE; | ||
| gint64 min_val, max_val; |
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.
I assume the removal of the I1/U1 stuff here is verified harmless
They have little benefit. Also fix oversight which resulted in using MINT_LDC_I4_S only for byte sized integers.
…ions Make `get_sreg_imm` more flexible, by returning the immediate value and the mint type that this value can fit in. Simplify return immediate handling by also applying conversion to immediate value, if necessary.
We will avoid running it if we know will do another iteration later (especially useful when first iteration is ssa disabled). It can still happen for it to run multiple times (when bblock optimization requests retry), but this should be very rare. This will save compilation time and should also remove the necessity of handling super instructions in constant folding pass. Reverts dotnet#99055 since it is no longer necessary.
Also add instructions for and/or + immediates.
and + ldc will already be transformed to a superinstruction, so this can also be simplified.
1736865 to
09ff7cd
Compare
|
CI didn't run after the last commit so I merged main. |
No description provided.