Skip to main content

__msa_dpsub_s_w

Function __msa_dpsub_s_w 

Source
pub unsafe fn __msa_dpsub_s_w(a: v4i32, b: v8i16, c: v8i16) -> v4i32
🔬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 Signed Dot Product and Add

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