-
Notifications
You must be signed in to change notification settings - Fork 309
sse 4.1 #183
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
sse 4.1 #183
Conversation
|
Looks like this has some overlap with #181? |
|
All the test intrinsics receive a The |
Use the
Yes, use unsigned, like all the other |
|
@BurntSushi Regarding |
9c6061f to
c96b603
Compare
|
I'm getting an error with
Are the instructions not supported? I'm not sure what to do here... |
|
@p32blo try adding |
This should work for any 128 bit sized vector, but it only accepts i64x2 for now
|
@p32blo I've sent you a PR with the fix, I think we can merge this afterwards :) |
P32blo sse41
|
@gnzlbg It looks like it worked. Thank you! |
|
So @BurntSushi this LGTM now. The sketchy This PR got delayed ~1 week because of it, and while fixing that I've found some cases where we say "this requires I don't want to spread checks for all this stuff all over the place and have to think about it all the time, so I am going to split the The PR #175 adds an That should make it trivial to fix these things in the future. For example if you add a new intrinsic to the |
_mm_cvtepi32_epi64_mm_cvtepu8_epi16_mm_cvtepu8_epi32_mm_cvtepu8_epi64_mm_cvtepu16_epi32_mm_cvtepu16_epi64_mm_cvtepu32_epi64_mm_mul_epi32_mm_mullo_epi32_mm_testz_si128_mm_testc_si128_mm_testnzc_si128_mm_test_all_zeros_mm_test_all_ones_mm_test_mix_ones_zeros_mm_minpos_epu16_mm_mpsadbw_epu8