## _mm256_mask_insertf32x4

# Function _mm256_mask_insertf32x4

1.89.0 (const: unstable) · Source

    pub fn _mm256_mask_insertf32x4(
        src: __m256,
        k: __mmask8,
        a: __m256,
        b: __m128,
        const IMM8: i32,
    ) -> __m256

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

Copy a to tmp, then insert 128 bits (composed of 4 packed single-precision (32-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