1 #![allow(non_camel_case_types)]
3 /// A SIMD vector of containing `LANES` lanes of `f32`.
5 pub struct SimdF32<const LANES: usize>([f32; LANES]);
7 impl_float_vector! { SimdF32, f32, SimdU32 }
9 pub type f32x2 = SimdF32<2>;
10 pub type f32x4 = SimdF32<4>;
11 pub type f32x8 = SimdF32<8>;
12 pub type f32x16 = SimdF32<16>;
14 from_transmute_x86! { unsafe f32x4 => __m128 }
15 from_transmute_x86! { unsafe f32x8 => __m256 }
16 //from_transmute_x86! { unsafe f32x16 => __m512 }