[−][src]Function safe_arch::splat_m128_s_m128
#[must_use]pub fn splat_m128_s_m128(a: m128) -> m128
This is supported with target feature
avx2
only.Splat the lowest f32
across all four lanes.
let a = set_m128_s(1.0); let b = splat_m128_s_m128(a).to_array(); assert_eq!(b, [1.0, 1.0, 1.0, 1.0]);
- Intrinsic:
_mm_broadcastss_ps
- Assembly:
vbroadcastss xmm, xmm