# Function _mm256_mask_inserti32x4

Source

    pub fn _mm256_mask_inserti32x4(
        src: __m256i,
        k: __mmask8,
        a: __m256i,
        b: __m128i,
        const IMM8: i32,
    ) -> __m256i

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

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