# [−][src]Function core::arch::mips64::__msa_hadd_u_w

    pub unsafe fn __msa_hadd_u_w(a: v8u16, b: v8u16) -> v4u32

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on MIPS-64 and target feature `msa` only.

Vector Unsigned Horizontal Add

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