Uh oh!
There was an error while loading. Please reload this page.
Arm64: addressing modes - #61026
Conversation
ghost
commented
Oct 29, 2021
Tagging subscribers to this area: @JulieLeeMSFT Issue Detailsdraft pr
|
BruceForstall
commented
Nov 1, 2021
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: