[−][src]Function safe_arch::splat_m128d_s_m128d
#[must_use]pub fn splat_m128d_s_m128d(a: m128d) -> m128d
This is supported with target feature
avx2
only.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]);
- Intrinsic:
_mm_broadcastsd_pd
- Assembly:
movddup xmm, xmm