Function core::arch::mips::__msa_dpsub_u_h

source ·
pub unsafe fn __msa_dpsub_u_h(a: v8i16, b: v16u8, c: v16u8) -> v8i16
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on (MIPS or MIPS-64) and target feature msa and MIPS only.
Expand description

Vector Unsigned Dot Product and Add

The unsigned integer elements in vector b (sixteen unsigned 8-bit integer numbers) are multiplied by unsigned integer elements in vector c (sixteen unsigned 8-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 (eight signed 16-bit integer numbers).