Function safe_arch::unpack_high_i32_m128i
source ยท pub fn unpack_high_i32_m128i(a: m128i, b: m128i) -> m128i
Available with target feature
sse2
only.Expand description
Unpack and interleave high i32
lanes of a
and b
.
let a = m128i::from([1, 2, 3, 4]);
let b = m128i::from([5, 6, 7, 8]);
let c: [i32; 4] = unpack_high_i32_m128i(a, b).into();
assert_eq!(c, [3, 7, 4, 8]);