Function safe_arch::set_splat_i32_m128i
source · pub fn set_splat_i32_m128i(i: i32) -> m128i
Expand description
Splats the i32
to all lanes of the m128i
.
let a = m128i::from([1, 1, 1, 1]);
let b = set_splat_i32_m128i(1);
assert_eq!(<[i32; 4]>::from(a), <[i32; 4]>::from(a));