]> git.proxmox.com Git - rustc.git/blob - src/stdarch/crates/std_detect/src/detect/arch/arm.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / stdarch / crates / std_detect / src / detect / arch / arm.rs
1 //! Run-time feature detection on ARM Aarch32.
2
3 features! {
4 @TARGET: arm;
5 @MACRO_NAME: is_arm_feature_detected;
6 @MACRO_ATTRS:
7 /// Checks if `arm` feature is enabled.
8 #[unstable(feature = "stdsimd", issue = "27731")]
9 @NO_RUNTIME_DETECTION: "v7";
10 @NO_RUNTIME_DETECTION: "vfp2";
11 @NO_RUNTIME_DETECTION: "vfp3";
12 @NO_RUNTIME_DETECTION: "vfp4";
13 @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] neon: "neon";
14 /// ARM Advanced SIMD (NEON) - Aarch32
15 @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] pmull: "pmull";
16 /// Polynomial Multiply
17 @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] crc: "crc";
18 /// CRC32 (Cyclic Redundancy Check)
19 @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] crypto: "crypto";
20 /// Crypto: AES + PMULL + SHA1 + SHA2
21 }