# Function core::arch::arm::__usad8
[−][src]

    pub unsafe fn __usad8(a: int8x4_t, b: int8x4_t) -> u32

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on (non-crate feature `miri-test-libstd` or `test` or `doctest`) and ARM only.
Expand description

Sum of 8-bit absolute differences.

Returns the 8-bit unsigned equivalent of

res = abs(a[0] - b[0]) + abs(a[1] - b[1]) +
(a[2] - b[2]) + (a[3] - b[3])