Skip to main content

## _mm512_2intersect_epi32

# Function _mm512_2intersect_epi32

Source

    pub unsafe fn _mm512_2intersect_epi32(
        a: __m512i,
        b: __m512i,
        k1: *mut __mmask16,
        k2: *mut __mmask16,
    )

🔬This is a nightly-only experimental API. (`stdarch_x86_avx512vp2intersect` #111137)
Available on x86 and target feature `avx512f` and target feature `avx512vp2intersect` and (x86 or x86-64) only.
Expand description

Compute intersection of packed 32-bit integer vectors a and b, and store indication of match in the corresponding bit of two mask registers specified by k1 and k2. A match in corresponding elements of a and b is indicated by a set bit in the corresponding bit of the mask registers.

Intel’s documentation