core::arch::x86_64::_mm512_dbsad_epu8 - Rust
Description: API documentation for the Rust `_mm512_dbsad_epu8` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, _mm512_dbsad_epu8

# [−][src]Function core::arch::x86_64::_mm512_dbsad_epu8

    pub unsafe fn _mm512_dbsad_epu8(a: __m512i, b: __m512i, imm8: i32) -> __m512i

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on x86-64 and target feature `avx512bw` only.

Compute the sum of absolute differences (SADs) of quadruplets of unsigned 8-bit integers in a compared to those in b, and store the 16-bit results in dst. Four SADs are performed on four 8-bit quadruplets for each 64-bit lane. The first two SADs use the lower 8-bit quadruplet of the lane from a, and the last two SADs use the uppper 8-bit quadruplet of the lane from a. Quadruplets from b are selected from within 128-bit lanes according to the control in imm8, and each SAD in each 64-bit lane uses the selected quadruplet at 8-bit offsets.

Intel's documentation