Skip to main content

__msa_dpsub_u_d

Function __msa_dpsub_u_d 

Source
pub unsafe fn __msa_dpsub_u_d(a: v2i64, b: v4u32, c: v4u32) -> v2i64
🔬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 subtracted from the integer elements in vector a (two signed 64-bit integer numbers).