core::arch::x86

Function _mm256_mask_reduce_add_epi16

source
pub unsafe fn _mm256_mask_reduce_add_epi16(k: __mmask16, a: __m256i) -> i16
🔬This is a nightly-only experimental API. (stdarch_x86_avx512 #111137)
Available on (x86 or x86-64) and target feature avx512bw,avx512vl and x86 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