Skip to main content

## _mm256_mask_insertf64x2

# Function _mm256_mask_insertf64x2

1.89.0 (const: unstable) · Source

    pub fn _mm256_mask_insertf64x2(
        src: __m256d,
        k: __mmask8,
        a: __m256d,
        b: __m128d,
        const IMM8: i32,
    ) -> __m256d

Available on x86 and target feature `avx512dq` and target feature `avx512vl` and (x86 or x86-64) only.
Expand description

Copy a to tmp, then insert 128 bits (composed of 2 packed double-precision (64-bit) floating-point elements) 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