[][src]Function core::arch::mips::__msa_hadd_u_h

pub unsafe fn __msa_hadd_u_h(a: v16u8, b: v16u8) -> v8u16
🔬 This is a nightly-only experimental API. (stdsimd #48556)
This is supported on MIPS and target feature msa only.

Vector Unsigned Horizontal Add

The zero-extended odd elements in vector 'a' (sixteen unsigned 8-bit integer numbers) are added to the zero-extended even elements in vector 'b' (sixteen unsigned 8-bit integer numbers) producing aresult twice the size of the input operands. The result is written to vector (eight unsigned 16-bit integer numbers).