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