# Function core::arch::x86::_mm_mask_reduce_add_epi8

source ·

    pub unsafe fn _mm_mask_reduce_add_epi8(k: __mmask16, a: __m128i) -> i8

🔬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 8-bit integers in a by addition using mask k. Returns the sum of all active elements in a.

Intel’s documentation