[−][src]Function safe_arch::set_splat_i8_m128i
#[must_use]pub fn set_splat_i8_m128i(i: i8) -> m128i
This is supported with target feature
sse2
only.Splats the i8
to all lanes of the m128i
.
let a = m128i::from([1_i8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); let b = set_splat_i8_m128i(1); assert_eq!(<[i8; 16]>::from(a), <[i8; 16]>::from(a));