Skip to main content

__msa_dpadd_u_w

Function __msa_dpadd_u_w 

Source
pub unsafe fn __msa_dpadd_u_w(a: v4u32, b: v8u16, c: v8u16) -> v4u32
🔬This is a nightly-only experimental API. (stdarch_mips #111198)
Available on MIPS-64 and target feature msa and (MIPS or MIPS-64) only.
Expand description

Vector Unsigned Dot Product and Add

The unsigned integer elements in vector b (eight unsigned 16-bit integer numbers) are multiplied by unsigned integer elements in vector c (eight unsigned 16-bit integer numbers) producing a result twice the size of the input operands. The multiplication results of adjacent odd/even elements are added to the vector a (four unsigned 32-bit integer numbers).