Function _mm256_insert_epi32

#[target_feature(enable = "avx")]
pub const fn _mm256_insert_epi32(a: __m256i, i: i32, INDEX: i32) -> __m256i

Copies a to result, and inserts the 32-bit integer i into result at the location specified by index.

Intel's documentation