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

From/Into implementations between vectors and tuples/arrays #396

Closed
gnzlbg opened this issue Mar 22, 2018 · 1 comment
Closed

From/Into implementations between vectors and tuples/arrays #396

gnzlbg opened this issue Mar 22, 2018 · 1 comment

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Mar 22, 2018

@Centril mentioned it here: rust-lang/rfcs#2366 (comment)

For arrays it should be trivial to implement these using the {load,store}_unaligned API. For tuples, it depends on how the tuple layout is specified, if at all.

Generating these from the macros should be pretty straight forward to do for array. For tuples it might be less straight forward but doable.

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Jul 19, 2018

This has been fixed in: https://github.com/gnzlbg/packed_simd which incorporates From impls from arrays.

@gnzlbg gnzlbg closed this as completed Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants