_mm256_mask_reduce_max_epi16 in core::arch::x86 - Rust
Description: Reduce the packed 16-bit integers in a by maximum using mask k. Returns the maximum of all active elements in a.

Skip to main content

## _mm256_mask_reduce_max_epi16

# Function _mm256_mask_reduce_max_epi16

1.89.0 (const: unstable) · Source

    pub fn _mm256_mask_reduce_max_epi16(k: __mmask16, a: __m256i) -> i16

Available on x86 and target feature `avx512bw` and target feature `avx512vl` only.
Expand description

Reduce the packed 16-bit integers in a by maximum using mask k. Returns the maximum of all active elements in a.

Intel’s documentation