core::arch::mips::__msa_hadd_u_d - Rust
Description: API documentation for the Rust `__msa_hadd_u_d` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, __msa_hadd_u_d

# [−][src]Function core::arch::mips::__msa_hadd_u_d

    pub unsafe fn __msa_hadd_u_d(a: v4u32, b: v4u32) -> v2u64

🔬 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` (four unsigned 32-bit integer numbers) are added to the zero-extended even elements in vector `b` (four unsigned 32-bit integer numbers) producing a result twice the size of the input operands. The result is written to vector (two unsigned 64-bit integer numbers).