Files
rust/compiler/rustc_interface
Jonathan Brouwer e3c3417ff6 Rollup merge of #163824 - adamgemmell:dev/adagem01/neon-in-registers, r=davidtwco
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.
2026-10-12 11:30:01 +02:00
..