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

    pub unsafe fn __msa_dotp_s_h(a: v16i8, b: 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

The signed integer elements in vector `a` (sixteen signed 8-bit integer numbers) are multiplied by signed integer elements in vector `b` (sixteen signed 8-bit integer numbers) producing a result the size of the input operands. The multiplication results of adjacent odd/even elements are added and stored to the destination vector (eight signed 16-bit integer numbers).