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: Consider reordering loads on ARM64 to make them amenable to ldp optimization #92756
E.g. see the "after" codegen in #92710 (comment). It shouldn't be hard to add an optimization during lowering that tries to reorder related stores like this to make them amenable to the ldp peephole.
cc @dotnet/jit-contrib
Activity
ghost added
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Or maybe the ldr=>ldp peephole could look back more than one instruction? The trick would be to avoid throughput problems.
We also need some interference checking on instrDescs to do that (ensuring the register hasn't changed values and the def can be moved back)... we would also need to be able to change the past ldrinstrDesc which I think we had some trouble with (current approach is to remove it and reinsert the ldp, I believe).
Activity
BruceForstall commentedon Sep 28, 2023
Or maybe the ldr=>ldp peephole could look back more than one instruction? The trick would be to avoid throughput problems.
jakobbotsch commentedon Sep 28, 2023
We also need some interference checking on
instrDescs to do that (ensuring the register hasn't changed values and the def can be moved back)... we would also need to be able to change the pastldrinstrDescwhich I think we had some trouble with (current approach is to remove it and reinsert theldp, I believe).jakobbotsch commentedon Oct 6, 2023
Duplicate of #64815