_mm256_extract_epi16 in core::arch::x86 - Rust
Description: Extracts a 16-bit integer from `a`, selected with `INDEX`. Returns a 32-bit integer containing the zero-extended integer data.

Skip to main content

## _mm256_extract_epi16

# Function _mm256_extract_epi16

1.27.0 (const: unstable) · Source

    pub fn _mm256_extract_epi16(a: __m256i, const INDEX: i32) -> i32

Available on x86 and target feature `avx2` only.
Expand description

Extracts a 16-bit integer from `a`, selected with `INDEX`. Returns a 32-bit integer containing the zero-extended integer data.

See LLVM commit D20468.

Intel’s documentation