Skip to main content

## __usada8

# Function __usada8

Source

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

🔬This is a nightly-only experimental API. (`stdarch_arm_dsp` #117237)
Available on ARM and (target feature `v6` and non-target feature `mclass`, or target features `mclass` and `dsp`) only.
Expand description

Sum of 8-bit absolute differences and constant.

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]) + c