-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
armhf binaries still use NEON #36913
Comments
Hm looks like it's definitely still there:
|
( TIL of |
This is a follow-up to rust-lang#35814 which apparently didn't disable it hard enough. It looks like LLVM's default armv7 target enables NEON so we'd otherwise have to pass `-neon`, but we're already enabling armv7 with `+v7` supposedly, so let's try just telling LLVM that the armv7 target is arm and then enable features selectively. Closes rust-lang#36913
rustc: Try again to disable NEON on armv7 linux This is a follow-up to #35814 which apparently didn't disable it hard enough. It looks like LLVM's default armv7 target enables NEON so we'd otherwise have to pass `-neon`, but we're already enabling armv7 with `+v7` supposedly, so let's try just telling LLVM that the armv7 target is arm and then enable features selectively. Closes #36913
Just to confirm:
No I ran I'll know better if someone with a limited armv7 actually tries to run this, but LGTM! ✔️ |
Thanks for the confirmation @cuviper! |
I was just investigating a report that Fedora's rust binaries for armv7hl use NEON, but they should not per #35590, supposedly fixed in #35814. (Fedora's build is 1.11, but I applied that patch.) I can see the exact same issue in the latest official
rustc-nightly-armv7-unknown-linux-gnueabihf.tar.gz
, whose version file says1.14.0-nightly (289f3a4ca 2016-09-29)
.In particular, they flagged that
vmov.i32 q8, #0
as a problem. I'm no ARM expert, but from this it appears theqN
registers are NEON-only. I believe those instructions using{d16-d17}
are also a problem, because with VFP3-D16 we should only haved0
tod15
.The text was updated successfully, but these errors were encountered: