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

cmd/compile: call memmove on amd64 for large OpMove #25317

TocarIP opened this issue May 9, 2018 · 0 comments


Copy link

commented May 9, 2018

Currently we lower OpMove with large size into REP MOV.
Memmove has optional AVX&co codepath, so it should be faster than REP MOV, or at least as fast if REP MOV is optimal (call overhead is insignificant for large sizes). We should probably generate a call to memmove for really big OpMove.

@agnivade agnivade added this to the Unplanned milestone May 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.