Function core::arch::mips::__msa_msub_q_h
source · pub unsafe fn __msa_msub_q_h(a: v8i16, b: v8i16, c: v8i16) -> 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 Fixed-Point Multiply and Subtract
The product of fixed-point elements in vector c
(eight signed 16-bit integer numbers)
by fixed-point elements in vector b
(eight signed 16-bit integer numbers)
are subtracted from the fixed-point elements in vector a
(eight signed 16-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
.