-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/compile: reconsider zeroing thresholds for arm64 #10981
Comments
Are you compiling for darwin/arm64? Due to ld64 bugs, duffzero is disabled on iOS. I compiled the example for linux/arm64, and the code But I don't understand why it's not using a loop on darwin/arm64 though. |
Yes, darwin/arm64. A loop seems better. |
Too late for Go 1.5, even for arm64. |
Still no DUFFZERO, but as 1.12 we generate a loop and not 100 MOVDs, so this is fixed. Closing. |
This might be working as intended, but this doesn't smell right to me. Maybe we should use DUFFZERO or something similar here?
Assembles to:
The text was updated successfully, but these errors were encountered: