1 #![no_std] 2 3 // Design: 4 // - safety: safe creation of any machine type is done only by instance methods of a 5 // Machine (which is a ZST + Copy type), which can only by created unsafely or safely 6 // through feature detection (e.g. fn AVX2::try_get() -> Option<Machine>). 7 8 mod soft; 9 mod types; 10 pub use self::types::*; 11 12 #[cfg(all(target_arch = "x86_64", not(feature = "no_simd"), not(miri)))] 13 pub mod x86_64; 14 #[cfg(all(target_arch = "x86_64", not(feature = "no_simd"), not(miri)))] 15 use self::x86_64 as arch; 16 17 #[cfg(any(feature = "no_simd", miri, not(target_arch = "x86_64")))] 18 pub mod generic; 19 #[cfg(any(feature = "no_simd", miri, not(target_arch = "x86_64")))] 20 use self::generic as arch; 21 22 pub use self::arch::{vec128_storage, vec256_storage, vec512_storage}; 23