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

# [−][src]Function core::arch::mips64::__msa_dpsub_s_h

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

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

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).