[−][src]Function safe_arch::unpack_low_i32_m256i
#[must_use]pub fn unpack_low_i32_m256i(a: m256i, b: m256i) -> m256i
This is supported with target feature
avx2
only.Unpack and interleave low i32
lanes of a
and b
.
- Operates on the low half of each 128 bit portion.
let a = m256i::from([0_i32, 1, 2, 3, 4, 5, 6, 7]); let b = m256i::from([0_i32, 11, 2, -13, 4, 15, 6, -17]); let c: [i32; 8] = unpack_low_i32_m256i(a, b).into(); assert_eq!(c, [0, 0, 1, 11, 4, 4, 5, 15]);
- Intrinsic:
_mm256_unpacklo_epi32
- Assembly:
vpunpckldq ymm, ymm, ymm