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

The doc-test for __m256 is wrongly guarded by #[target_feature(enable = "sse")] #481

Closed
kennytm opened this issue Jun 21, 2018 · 2 comments

Comments

@kennytm
Copy link
Member

kennytm commented Jun 21, 2018

... it should be "avx".

https://github.com/rust-lang-nursery/stdsimd/blob/5d300a55cf521a035f40c1ef9869ed277c055312/coresimd/x86/mod.rs#L278-L286

See rust-lang/rust#51675 for detail.

gnzlbg added a commit to gnzlbg/stdsimd that referenced this issue Jun 21, 2018
@gnzlbg gnzlbg closed this as completed in 6256448 Jun 21, 2018
@mnd
Copy link

mnd commented Jun 22, 2018

@gnzlbg Is line /// # if is_x86_feature_detected!("sse") { unsafe { foo() } } should be changed too?

@gnzlbg
Copy link
Contributor

gnzlbg commented Jun 22, 2018

@mnd thanks for keeping an eye on things! It was changed in the next commit: 6626729

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

No branches or pull requests

3 participants