Function _mm256_insert_epi8

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

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

Intel's documentation