## _mm_mask_reduce_add_epi16

# Function _mm_mask_reduce_add_epi16

1.89.0 · Source

    pub fn _mm_mask_reduce_add_epi16(k: __mmask8, a: __m128i) -> i16

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

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

Intel’s documentation