]> git.lizzy.rs Git - rust.git/blob - crates/core_simd/src/type_u32x8.rs
686833c250c46c58e9f1f3be9be379f135045f42
[rust.git] / crates / core_simd / src / type_u32x8.rs
1 define_type! {
2     #[doc = "Vector of eight `u32` types"]
3     struct u32x8([u32; 8]);
4 }
5
6 #[cfg(target_arch = "x86")]
7 from_aligned! { unsafe u32x8 |bidirectional| core::arch::x86::__m256i }
8
9 #[cfg(target_arch = "x86_64")]
10 from_aligned! { unsafe u32x8 |bidirectional| core::arch::x86_64::__m256i }