mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 11:38:01 +00:00
The tests can run if and only if the target_features for the corresponding intrinsics are detected at run-time, so make sure that the tests have an appropriate `simd_test()`. This fixes some failures due to tests running when they shouldn't. For example, some tests would fail on hardware that lacks "fcma".
Neon intrinsic code generator
A small tool that allows to quickly generate intrinsics for the NEON architecture.
The specification for the intrinsics can be found in neon.spec.
To run and re-generate the code run the following from the root of the stdarch crate.
OUT_DIR=`pwd`/crates/core_arch cargo run -p stdarch-gen -- crates/stdarch-gen/neon.spec