-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Arm64: addressing modes #61026
Arm64: addressing modes #61026
Conversation
Tagging subscribers to this area: @JulieLeeMSFT Issue Detailsdraft pr
|
Incorporating to godbolt data here, you suggest generating:
One issue with this form is that we'll always need two instructions inside a loop; if #35618 suggested a form of generating |
Thanks, Bruce, yeah I keep that in mind. Actually it can be easily enabled even today in Alternatively, we can implement a more generic optimization for patterns like this:
|
draft pr. The goal is to achieve this codegen: https://godbolt.org/z/dEerMoE6M
when we access any C# array by index (variable).
Currently JIT emits for it: