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: Optimize simple MUL/DIV arithmetic with GT_NEG #44375
This is part 2 of #13837 to optimize multiplication and division arithmetic optimizations with GT_NEG.
Addition and subtraction have been completed in PR #43921.
intM5(inta)=>-a/10;// optimize to "a / -10"intM6(inta)=>-(a/10);// optimize to "a / -10"intM7(inta)=>-a*10;// optimize to "a * -10"intM8(inta)=>-(a*10);// optimize to "a * -10"
@JulieLeeMSFT This seems like a good introductory issue to get familiar with the JIT, which I've been looking for. Would you be able to assign this to me?
@alexcovington great, we would be excited to have more of your contributions in .NET 6.0.
cc @BruceForstall in case he has specific interesting suggestions.
Activity
EgorBo commentedon Nov 7, 2020
A small note:
10->-10should not be done for IconHandle constant (#44266)alexcovington commentedon Nov 11, 2020
@JulieLeeMSFT This seems like a good introductory issue to get familiar with the JIT, which I've been looking for. Would you be able to assign this to me?
danmoseley commentedon Jan 27, 2021
@alexcovington is this issue now completed? If so we can close it.
perhaps there's another issue that's interesting among our codegen issues up for grabs: https://github.com/dotnet/runtime/issues?q=is%3Aopen+label%3Aup-for-grabs+label%3Aarea-CodeGen-coreclr+
alexcovington commentedon Jan 27, 2021
@danmosemsft Yes, I believe this can be closed now that #45604 has been merged in.
And I'll gladly take a look through 😄. Feel free to ping me for AMD-specific or x64 issues (I saw the amd-perf label which I'm following).
danmoseley commentedon Jan 27, 2021
@alexcovington great, we would be excited to have more of your contributions in .NET 6.0.
cc @BruceForstall in case he has specific interesting suggestions.
JulieLeeMSFT commentedon Jan 27, 2021
@alexcovington thanks a lot for your contribution to JIT.
cc @sandreenko for any suggestions for alexcovington.