Enable outline-atomics by default on AArch64 FreeBSD by tgross35 · Pull Request #149633 · rust-lang/rust (original) (raw)
Many aarch64 targets without LSE in the baseline enable theoutline-atomics feature, which uses runtime detection of LSE for its
faster atomic ops. This provides nontrivial performance improvements on
most hardware from the past decade, at a small cost to anything pre-LSE.
Clang does not currently have this enabled on FreeBSD (search forIsAArch64OutlineAtomicsDefault there) but there doesn't seem to be any
specific reason not. Thus, enable it here.
Based on #144938 which needs to land first (this PR is only meant to cover the final commit).
try-job: dist-x86_64-freebsd