Function core::arch::arm::__smusd

source ·
pub unsafe fn __smusd(a: int16x2_t, b: int16x2_t) -> i32
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on ARM only.
Expand description

Signed Dual Multiply Subtract.

Returns the equivalent of

res = a[0] * b[0] - a[1] * b[1]

and sets the Q flag if overflow occurs on the addition.