Skip to content

Avx #109

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

Merged
merged 22 commits into from
Oct 14, 2017
Merged

Avx #109

merged 22 commits into from
Oct 14, 2017

Conversation

gwenn
Copy link
Contributor

@gwenn gwenn commented Oct 11, 2017

No description provided.

@alexcrichton
Copy link
Member

Looks great! I think i586 may be faulting though?

@gwenn
Copy link
Contributor Author

gwenn commented Oct 12, 2017

Sorry, I will take a look and try to fix it.

alexcrichton and others added 13 commits October 14, 2017 13:46
Need to bring codegen units back to only one for now
- Add docs for the _SIDD_EQUAL_RANGES mode
This adds a strange macro, which I've replaced with a function, because it
seems there are not many better alternatives.

Also adds a test, and `#[allow(non_snake_case)]` to `#[simd_test]`.
* Add _mm_{and,andnot,or,xor}_ps

* Add _mm_cmpeq_ss

* Add _mm_cmplt_ss

* Add _mm_cmple_ss

* Add _mm_cmpgt_ss

* Add _mm_cmpge_ss

* Add _mm_cmpneq_ss

* Add _mm_cmpnlt_ss

* Add _mm_cmpnle_ss

* Add _mm_cmpngt_ss

* Add _mm_cmpnge_ss

* Add _mm_cmpord_ss

* Add _mm_cmpunord_ss

* Fix _mm_{and,andnot,or,xor}_ps tests for i586

LLVM for i586 doesn't seem to generate `andps`, and instead generates 4
`and`s. Similar for the other operations.
@alexcrichton alexcrichton merged commit d9d0ae4 into rust-lang:master Oct 14, 2017
@alexcrichton
Copy link
Member

Thanks!

@gwenn gwenn deleted the avx branch October 14, 2017 14:19
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

Successfully merging this pull request may close these issues.

5 participants