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

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

带符号的并行字节加法减半。

返回与之等效的 8 位有符号

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