Skip to content
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

JIT: Check for potential store-to-load forwarding before reordering ldr -> ldp #105695

Commits on Jul 30, 2024

  1. JIT: Check for potential store-to-load forwarding before reordering l…

    …dr -> ldp
    
    Very targeted fix for dotnet#93401 and dotnet#101437: before reordering two
    indirections, check if there is a potential store in the same loop that
    looks like it could end up being a candidate for store-to-load
    forwarding into one of those indirections. Some hardware does not handle
    store-to-load forwarding with the same fidelity when `stp`/`ldp` is
    involved compared to multiple `str`/`ldr`.
    
    If we detect the situation then avoid doing the reordering.
    jakobbotsch committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    2b1a2b8 View commit details
    Browse the repository at this point in the history