_mm256_insert_epi16 in core::arch::x86 - Rust
Description: Copies `a` to result, and inserts the 16-bit integer `i` into result at the location specified by `index`.

core::arch::x86

# Function _mm256_insert_epi16

1.27.0 · source

    pub unsafe fn _mm256_insert_epi16(
        a: __m256i,
        i: i16,
        const INDEX: i32,
    ) -> __m256i

Available on (x86 or x86-64) and target feature `avx` and x86 only.
Expand description

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

Intel’s documentation