Jacob Bramley f966d451b5 Decouple TargetFeature strings.
"arm" and "aarch64" support different sets of `target_feature` and
`simd_test` arguments, and for "arm", the set of features that can be
dynamically detected is different again. Restructure the generator code
to allow this to be expressed accurately (in future patches).

This implementation preserves the way that target features are specified
for shared intrinsics, because this has an impact on the generated
documentation. In particular, rustdoc cannot look inside
`cfg_attr(target_arch = ...)` tests, so we use unconditional
`target_feature` attributes where possible.
2023-01-09 15:08:12 +00:00
..
2023-01-09 15:08:12 +00:00
2022-08-22 23:46:15 +02:00

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