-
Notifications
You must be signed in to change notification settings - Fork 131
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
Miscompilation under target-cpu >= haswell #51
Comments
Looks like the problem originates in the RUSTFLAGS='-C target-cpu=ivybridge' cargo test --release for UPD: Ah, you already use
|
@tarcieri |
@newpavlov yes, sounds good to me |
The LLVM and Rust issues were resolved. I've tested the code and commands from the opening post, and they all succeed for me.
So I think this can be closed. |
This example fails when compiled with
target-cpu
"haswell" or more recent:I bumped into this when compiling with
target-cpu=native
and assumed it was related to rust-lang/rust#54688, but after minimising the testcase I don't think it is. My next guess is an llvm bug but I thought I'd make an issue here in case anyone else bumps into it or wants to help investigate.Occurs on stable:
and nightly:
Tested on Broadwell (Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz) and Skylake (Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz).
The text was updated successfully, but these errors were encountered: