]> git.lizzy.rs Git - rust.git/blob - crates/core_simd/src/vectors_f32.rs
Change doc attributes to comments
[rust.git] / crates / core_simd / src / vectors_f32.rs
1 define_vector! {
2     /// Vector of two `f32` values
3     struct f32x2([f32; 2]);
4 }
5
6 define_vector! {
7     /// Vector of four `f32` values
8     struct f32x4([f32; 4]);
9 }
10
11 define_vector! {
12     /// Vector of eight `f32` values
13     struct f32x8([f32; 8]);
14 }
15
16 define_vector! {
17     /// Vector of 16 `f32` values
18     struct f32x16([f32; 16]);
19 }
20
21 from_transmute_x86! { unsafe f32x4 => __m128 }
22 from_transmute_x86! { unsafe f32x8 => __m256 }
23 //from_transmute_x86! { unsafe f32x16 => __m512 }