Function safe_arch::splat_m128d_s_m128d

source ยท
pub fn splat_m128d_s_m128d(a: m128d) -> m128d
Available with target feature avx2 only.
Expand description

Splat the lower f64 across both lanes of m128d.

let a = m128d::from([1.0, 2.0]);
let b = splat_m128d_s_m128d(a).to_array();
assert_eq!(b, [1.0, 1.0]);