core::arch::arm

Function __smusd

source
pub unsafe fn __smusd(a: int16x2_t, b: int16x2_t) -> i32
🔬This is a nightly-only experimental API. (stdarch_arm_dsp #117237)
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.