Skip to main content

__msa_dpadd_u_d

Function __msa_dpadd_u_d 

Source
pub unsafe fn __msa_dpadd_u_d(a: v2u64, b: v4u32, c: v4u32) -> v2u64
🔬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 (four unsigned 32-bit integer numbers) are multiplied by unsigned integer elements in vector c (four unsigned 32-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 (two unsigned 64-bit integer numbers).