[−][src]Function safe_arch::splat_i16_m128i_s_m128i
#[must_use]pub fn splat_i16_m128i_s_m128i(a: m128i) -> m128i
This is supported with target feature
avx2
only.Splat the lowest 16-bit lane across the entire 128 bits.
let a = m128i::from(0x77_i128); let b: [i16; 8] = splat_i16_m128i_s_m128i(a).into(); assert_eq!(b, [0x77_i16; 8]);
- Intrinsic:
_mm_broadcastw_epi16
- Assembly:
vpbroadcastw xmm, xmm