Function core::arch::mips::__msa_msub_q_w
source · pub unsafe fn __msa_msub_q_w(a: v4i32, b: v4i32, c: v4i32) -> v4i32
🔬This is a nightly-only experimental API. (
stdarch_mips
#111198)Available on (MIPS or MIPS-64) and target feature
msa
and MIPS only.Expand description
Vector Fixed-Point Multiply and Subtract
The product of fixed-point elements in vector c
(four signed 32-bit integer numbers)
by fixed-point elements in vector b
(four signed 32-bit integer numbers)
are subtracted from the fixed-point elements in vector a
(four signed 32-bit integer numbers). The multiplication result is not saturated,
i.e. exact (-1) * (-1) = 1 is subtracted from the destination.
The saturated fixed-point results are stored back to vector a
.