# Function core::arch::x86::_mm512_mask_inserti64x2

source ·

    pub unsafe fn _mm512_mask_inserti64x2(
        src: __m512i,
        k: __mmask8,
        a: __m512i,
        b: __m128i,
        const IMM8: i32,
    ) -> __m512i

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

Copy a to tmp, then insert 128 bits (composed of 2 packed 64-bit integers) from b into tmp at the location specified by IMM8, and copy tmp to dst using writemask k (elements are copied from src if the corresponding bit is not set).

Intel’s Documentation