devela/sys/arch/
reexports.rs
1use crate::reexport;
7
8reexport! { rust: core::arch,
11 doc: "Inline assembly.",
12 asm
13}
14reexport! { rust: core::arch,
15 doc: "Module-level inline assembly.",
16 global_asm
17}
18
19reexport! { rust: std::arch,
22 doc: "Tests at *runtime* whether an `aarch64` feature is enabled.",
23 @is_aarch64_feature_detected as detect_aarch64
24}
25reexport! { rust: std::arch,
26 doc: "Tests at *runtime* whether an `x86/x86-64` feature is enabled.",
27 @is_x86_feature_detected as detect_x86
28}
29
30#[cfg(all(feature = "dep_safe_arch", target_feature = "avx"))]
34#[cfg_attr(feature = "nightly_doc", doc(cfg(target_feature = "avx")))]
35#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "dep_safe_arch")))]
36pub use crate::_dep::safe_arch::cmp_op as arch_cmp;
37
38#[cfg(all(feature = "dep_safe_arch", target_feature = "avx"))]
40#[cfg_attr(feature = "nightly_doc", doc(cfg(target_feature = "avx")))]
41#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "dep_safe_arch")))]
42pub use crate::_dep::safe_arch::round_op as arch_round;
43
44reexport! { "dep_safe_arch", "safe_arch", safe_arch,
45 doc: "The data for a 128-bit SSE register of four `f32` lanes.", m128
46}
47reexport! { "dep_safe_arch", "safe_arch", safe_arch,
48 doc: "The data for a 256-bit AVX register of eight `f32` lanes.", m256
49}
50reexport! { "dep_safe_arch", "safe_arch", safe_arch,
51 doc: "The data for a 128-bit SSE register of two `f64` values.", m128d
52}
53reexport! { "dep_safe_arch", "safe_arch", safe_arch,
54 doc: "The data for a 128-bit SSE register of integer data.", m128i
55}
56reexport! { "dep_safe_arch", "safe_arch", safe_arch,
57 doc: "The data for a 256-bit AVX register of four `f64` values.", m256d
58}
59reexport! { "dep_safe_arch", "safe_arch", safe_arch,
60 doc: "The data for a 256-bit AVX register of integer data.", m256i
61}