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

f32x2 vector arithmetic ops fail on x86_64-apple-darwin #25

Open
gnzlbg opened this issue Jul 19, 2018 · 1 comment
Open

f32x2 vector arithmetic ops fail on x86_64-apple-darwin #25

gnzlbg opened this issue Jul 19, 2018 · 1 comment
Labels
A-x86_64 x86_64 architecture CI-Travis Travis-CI O-macosx Unsound Something breaks Rust safety guarantees

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Jul 19, 2018

I cannot reproduce this locally but the following two tests fail on x86_64-apple-darwin on travis:

---- v64::f32x2_ops_scalar_arith::ops_scalar_arithmetic stdout ----
thread 'v64::f32x2_ops_scalar_arith::ops_scalar_arithmetic' panicked at 'assertion failed: `(left == right)`
  left: `f32x2(NaN, 0.0)`,
 right: `f32x2(0.0, 0.0)`', src/v64.rs:43:1
---- v64::f32x2_ops_vector_arith::ops_vector_arithmetic stdout ----
thread 'v64::f32x2_ops_vector_arith::ops_vector_arithmetic' panicked at 'assertion failed: `(left == right)`
  left: `f32x2(NaN, 0.0)`,
 right: `f32x2(0.0, 0.0)`', src/v64.rs:43:1
failures:
    v64::f32x2_ops_scalar_arith::ops_scalar_arithmetic
    v64::f32x2_ops_vector_arith::ops_vector_arithmetic
@gnzlbg gnzlbg added CI-Travis Travis-CI A-x86_64 x86_64 architecture O-macosx Unsound Something breaks Rust safety guarantees labels Jul 19, 2018
@gnzlbg
Copy link
Contributor Author

gnzlbg commented Jul 23, 2018

Update: after disabling the AVX1 tests, these started failing with illegal instruction on travis. It appears that the travis apple build bots do not support AVX2. So now that AVX1 is disabled, I've disabled AVX2 testing for apple builds, and tests pass again.

We should re-enable AVX1 and figure out why this was failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-x86_64 x86_64 architecture CI-Travis Travis-CI O-macosx Unsound Something breaks Rust safety guarantees
Projects
None yet
Development

No branches or pull requests

1 participant