Function core::arch::mips64::__msa_dpsub_s_h

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

Vector Signed Dot Product and Add

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