]> git.lizzy.rs Git - rust.git/blob - crates/core_simd/src/type_f64x2.rs
0c349f38c862fdffb28aae70dfcfde4006c04394
[rust.git] / crates / core_simd / src / type_f64x2.rs
1 define_type! {
2     #[doc = "Vector of two `f64` types"]
3     struct f64x2([f64; 2]);
4 }
5
6 #[cfg(target_arch = "x86")]
7 from_aligned! { unsafe f64x2 |bidirectional| core::arch::x86::__m128d }
8
9 #[cfg(target_arch = "x86_64")]
10 from_aligned! { unsafe f64x2 |bidirectional| core::arch::x86_64::__m128d }