core::arch::mips::__msa_msubr_q_h - Rust
Description: API documentation for the Rust `__msa_msubr_q_h` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, __msa_msubr_q_h

# [−][src]Function core::arch::mips::__msa_msubr_q_h

    pub unsafe fn __msa_msubr_q_h(a: v8i16, b: v8i16, c: v8i16) -> v8i16

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on MIPS and target feature `msa` only.

Vector Fixed-Point Multiply and Subtract Rounded

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 rounded and saturated fixed-point results are stored back to vector `a`.