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

Add shuffles #8

Open
gquintin opened this issue Jul 20, 2019 · 0 comments
Open

Add shuffles #8

gquintin opened this issue Jul 20, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@gquintin
Copy link
Contributor

gquintin commented Jul 20, 2019

First, size agnostic shuffles, such as reverse, unpack, zip, unzip, ... will be added. Then it seems that (to be confirmed) all supported and yet to be supported architecture by NSIMD have SIMD vector lengths multiple of 128 bits. Therefore custom shuffles whose pattern is 128-bits wide can be repeated on all 128-bits lanes of a SIMD vector which make thoses shuffles also length agnostic. In any case one can follow the same reasoning on 64-bits patterns as SIMD vector length are, a priori, multiple of 64 bits which is sizeof(float64_t) * 8.

@gquintin gquintin added the enhancement New feature or request label Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant