-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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: Optimize pair of "str wzr, [reg]" to "str xzr" #35136
Comments
I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label. |
In addition, a sequence of 4 |
In the attached file, there are some interesting example that are more complicated than simple adjacency peephole optimization. E.g.,
Could be:
but it require recognizing that the non-contiguous offsets 60 and 64 can be combined. |
can be combined into
str xzr
if the stores are happening in subsequent memory.I collected no. of such
str
pairs in framework libraries and found approx. 450 pairs in 353 methods.Details:
str_str_wzr_to_str_xzr.txt
category:cq
theme:optimization
skill-level:intermediate
cost:small
impact:medium
The text was updated successfully, but these errors were encountered: