devela/sys/arch/
reexports.rs

1// devela::sys::arch::reexports
2//
3//! Reexported items from `core`.
4//
5
6use crate::reexport;
7
8/* `core` re-exports */
9
10reexport! { 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
19/* `std` re-exports */
20
21reexport! { 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/* `safe_arch` re-exports */
31
32/// <span class='stab portability' title='re-exported from `safe_arch`'>`safe_arch`</span>
33#[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/// <span class='stab portability' title='re-exported from `safe_arch`'>`safe_arch`</span>
39#[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}