rust/library/stdarch
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
..
.github/workflows Remove Android CI (#1346) 2022-10-25 16:57:03 +01:00
ci Remove Android CI (#1346) 2022-10-25 16:57:03 +01:00
crates Decouple TargetFeature strings. 2023-01-09 15:08:12 +00:00
examples Edition 2021, apply clippy::uninlined_format_args fix (#1339) 2022-10-25 20:17:23 +01:00
.cirrus.yml Work around rustup bug in FreeBSD CI (#1176) 2021-05-28 01:20:30 +01:00
.gitignore Intrinsic test tool to compare neon intrinsics with C (#1170) 2021-09-09 19:16:45 +01:00
.gitmodules Handle intrinsics with constraints in the test tool. (#1237) 2021-11-05 01:47:31 +00:00
Cargo.toml Intrinsic test tool to compare neon intrinsics with C (#1170) 2021-09-09 19:16:45 +01:00
CONTRIBUTING.md fix target name in contributing.md 2022-08-20 22:19:34 +02:00
LICENSE-APACHE Add license files 2017-09-25 12:43:06 -07:00
LICENSE-MIT Add license files 2017-09-25 12:43:06 -07:00
README.md Use SPDX license format and update packed_simd crate link (#1297) 2022-03-17 10:55:51 +00:00
rustfmt.toml Update the intrinsic checker tool (#1258) 2021-12-04 13:03:30 +00:00
triagebot.toml Remove S-waiting-on-review autolabel (#1360) 2022-11-27 17:22:08 +00:00
vendor.yml Update repo name 2019-07-09 01:37:07 +02:00

stdarch - Rust's standard library SIMD components

Actions Status

Crates

This repository contains two main crates:

  • core_arch implements core::arch - Rust's core library architecture-specific intrinsics, and

  • std_detect implements std::detect - Rust's standard library run-time CPU feature detection.

The std::simd component now lives in the packed_simd_2 crate.