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