Skip to main content

## _mm512_mask_insertf64x4

# Function _mm512_mask_insertf64x4

1.89.0 (const: unstable) · Source

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

Available on x86 and target feature `avx512f` only.
Expand description

Copy a to tmp, then insert 256 bits (composed of 4 packed double-precision (64-bit) floating-point elements) from b into tmp at the location specified by imm8. Store tmp to dst using writemask k (elements are copied from src when the corresponding mask bit is not set).

Intel’s documentation