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