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: reuse algs for [N]T arrays #17031

Open
mdempsky opened this Issue Sep 8, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@mdempsky
Member

mdempsky commented Sep 8, 2016

For arrays [N]T where T is not a pure memory type, we currently generate separate algorithms for each distinct value of N. Instead, we could emit simple stub algs that load N into a register/argument, and then jump to a common []T implementation.

Unclear if this shows up often enough in practice to be beneficial though.

Related #17029.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment