-
Notifications
You must be signed in to change notification settings - Fork 289
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