Function _mm256_unpacklo_epi64

#[target_feature(enable = "avx2")]
pub const fn _mm256_unpacklo_epi64(a: __m256i, b: __m256i) -> __m256i

Unpacks and interleave 64-bit integers from the low half of each 128-bit lane of a and b.

#[cfg(target_arch = "x86")]
use std::arch::x86::*;
#[cfg(target_arch = "x86_64")]
use std::arch::x86_64::*;

# fn main() {
#     if is_x86_feature_detected!("avx2") {
#         #[target_feature(enable = "avx2")]
#         unsafe fn worker() {
let a = _mm256_setr_epi64x(0, 1, 2, 3);
let b = _mm256_setr_epi64x(0, -1, -2, -3);

let c = _mm256_unpacklo_epi64(a, b);

let expected = _mm256_setr_epi64x(0, 0, 2, -2);
assert_eq!(_mm256_movemask_epi8(_mm256_cmpeq_epi8(c, expected)), !0);

#         }
#         unsafe { worker(); }
#     }
# }

Intel's documentation