Function core::arch::arm::__shadd16[][src]

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

有符号的减半平行半字加法。

返回与之等效的 16 位带符号

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