_mm256_mpsadbw_epu8 in core::arch::x86 - Rust
Description: Computes the sum of absolute differences (SADs) of quadruplets of unsigned 8-bit integers in `a` compared to those in `b`, and stores the 16-bit results in dst. Eight SADs are performed for each 128-bit lane using one quadruplet from `b` and eight quadruplets from `a`. One quadruplet is selected from `b` starting at on the offset specified in `imm8`. Eight quadruplets are formed from sequential 8-bit integers selected from `a` starting at the offset specified in `imm8`.
Keywords: rust, rustlang, rust-lang, _mm256_mpsadbw_epu8

# Function core::arch::x86::_mm256_mpsadbw_epu8
1.27.0[−][src]

    pub unsafe fn _mm256_mpsadbw_epu8<const IMM8: i32>(
        a: __m256i,
        b: __m256i
    ) -> __m256i

This is supported on x86 and target feature `avx2` only.
Expand description

Computes the sum of absolute differences (SADs) of quadruplets of unsigned 8-bit integers in `a` compared to those in `b`, and stores the 16-bit results in dst. Eight SADs are performed for each 128-bit lane using one quadruplet from `b` and eight quadruplets from `a`. One quadruplet is selected from `b` starting at on the offset specified in `imm8`. Eight quadruplets are formed from sequential 8-bit integers selected from `a` starting at the offset specified in `imm8`.

Intel’s documentation