Function safe_arch::unpack_high_i8_m128i
source ยท pub fn unpack_high_i8_m128i(a: m128i, b: m128i) -> m128i
Available with target feature
sse2
only.Expand description
Unpack and interleave high i8
lanes of a
and b
.
let a = m128i::from([0_i8, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]);
let b = m128i::from([0_i8, 11, 2, 13, 4, 15, 6, 17, 8, 19, -20, 21, 22, -23, 24, 127]);
let c: [i8; 16] = unpack_high_i8_m128i(a, b).into();
assert_eq!(c, [8, 8, 9, 19, 10, -20, 11, 21, 12, 22, 13, -23, 14, 24, 15, 127]);