-
Notifications
You must be signed in to change notification settings - Fork 276
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
Fix family of _mmX_alignr_epiX
functions
#1678
Fix family of _mmX_alignr_epiX
functions
#1678
Conversation
CC: @alexcrichton |
Could you check all the other |
Oh, a good point. Yes, there is at least one more function that behaves also wrongly. I will get to it over the weekend. |
_mm256_alignr_epi8<16>
_mmX_alignr_epiX
function
All right, so the situation is more complicated, and for the purpose of comparison (in between GCC/Clang C++ and Rust stdarch), I wrote the following script that utilizes all the non-mask functions from the I noticed the following issues:
|
_mmX_alignr_epiX
function_mmX_alignr_epiX
functions
The function is supposed to return first argument for IMM8 == 8.
01d8791
to
9304fe7
Compare
The function is supposed to return the first argument for IMM8 == 8.
Can be verified by both Clang and GCC for the following C++ code snippet: