Function core::arch::x86_64::_mm512_sad_epu8

source ·
pub unsafe fn _mm512_sad_epu8(a: __m512i, b: __m512i) -> __m512i
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on (x86 or x86-64) and target feature avx512bw only.
Expand description

Compute the absolute differences of packed unsigned 8-bit integers in a and b, then horizontally sum each consecutive 8 differences to produce eight unsigned 16-bit integers, and pack these unsigned 16-bit integers in the low 16 bits of 64-bit elements in dst.

Intel’s documentation