core::arch::x86_64

Function _mm_mask_reduce_add_epi16

source
pub unsafe fn _mm_mask_reduce_add_epi16(k: __mmask8, a: __m128i) -> 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-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