Function core::arch::arm::__shadd16

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

Signed halving parallel halfword-wise addition.

Returns the 16-bit signed equivalent of

res[0] = (a[0] + b[0]) / 2 res[1] = (a[1] + b[1]) / 2

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.