Skip to content

Cannot use simd_fabs because of incorrect optimization #97

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

Closed
calebzulawski opened this issue Apr 17, 2021 · 1 comment
Closed

Cannot use simd_fabs because of incorrect optimization #97

calebzulawski opened this issue Apr 17, 2021 · 1 comment
Labels
C-bug Category: Bug

Comments

@calebzulawski
Copy link
Member

simd_fabs appears to optimize incorrectly: rust-lang/rust#84268

We currently use xor to mask off the sign bit, but we should still fix this.

@calebzulawski
Copy link
Member Author

Fixed in nightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Bug
Projects
None yet
Development

No branches or pull requests

1 participant