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

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

    pub unsafe fn __msa_dotp_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 Dot Product

The unsigned integer elements in vector `a` (sixteen unsigned 8-bit integer numbers) are multiplied by unsigned integer elements in vector `b` (sixteen unsigned 8-bit integer numbers) producing a result the size of the input operands. The multiplication results of adjacent odd/even elements are added and stored to the destination vector (eight unsigned 16-bit integer numbers).