Function safe_arch::splat_i32_m128i_s_m128i
source ยท pub fn splat_i32_m128i_s_m128i(a: m128i) -> m128i
Available with target feature
avx2
only.Expand description
Splat the lowest 32-bit lane across the entire 128 bits.
let a = m128i::from(0x77_i128);
let b: [i32; 4] = splat_i32_m128i_s_m128i(a).into();
assert_eq!(b, [0x77; 4]);
- Intrinsic:
_mm_broadcastd_epi32
- Assembly:
vpbroadcastd xmm, xmm