mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
aarch64: Use neon registers for ABI on targets that require `neon" This PR is the aarch64 version of https://github.com/rust-lang/rust/pull/161583. When a target requires the neon feature (which all `aarch64[_be]` hardfloat targets do), pass any vectors that fit (all sized vectors on aarch64 should do) in those registers. We also make disable the `neon` target feature a hard error since doing so is much more likely to result in miscompilations as a result of this change, as the previous patch did for SSE. I've also check the stdarch CI for aarch64-unknown-linux-gnu and aarch64_be-linux-gnu locally with no issues.