]>
Commit | Line | Data |
---|---|---|
0531ce1d XL |
1 | //! ARM intrinsics. |
2 | //! | |
3 | //! The reference for NEON is [ARM's NEON Intrinsics Reference][arm_ref]. The | |
4 | //! [ARM's NEON Intrinsics Online Database][arm_dat] is also useful. | |
5 | //! | |
6 | //! [arm_ref]: | |
7 | //! http://infocenter.arm.com/help/topic/com.arm.doc. | |
8 | //! ihi0073a/IHI0073A_arm_neon_intrinsics_ref.pdf | |
9 | //! [arm_dat]: https://developer.arm.com/technologies/neon/intrinsics | |
83c7162d | 10 | #![allow(non_camel_case_types)] |
0531ce1d XL |
11 | |
12 | mod v6; | |
13 | pub use self::v6::*; | |
14 | ||
83c7162d | 15 | #[cfg(any(target_arch = "aarch64", target_feature = "v7"))] |
0531ce1d | 16 | mod v7; |
83c7162d | 17 | #[cfg(any(target_arch = "aarch64", target_feature = "v7"))] |
0531ce1d XL |
18 | pub use self::v7::*; |
19 | ||
83c7162d XL |
20 | // NEON is supported on AArch64, and on ARM when built with the v7 and neon |
21 | // features. Building ARM without neon produces incorrect codegen. | |
22 | #[cfg(any(target_arch = "aarch64", | |
23 | all(target_feature = "v7", target_feature = "neon"), | |
24 | dox))] | |
0531ce1d | 25 | mod neon; |
83c7162d XL |
26 | #[cfg(any(target_arch = "aarch64", |
27 | all(target_feature = "v7", target_feature = "neon"), | |
28 | dox))] | |
0531ce1d | 29 | pub use self::neon::*; |