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

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

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

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

Vector Signed Horizontal Subtract

The sign-extended odd elements in vector `b` (sixteen signed 8-bit integer numbers) are subtracted from the sign-extended elements in vector `a` (sixteen signed 8-bit integer numbers) producing a result twice the size of the input operands. The result is written to vector (eight signed 16-bit integer numbers).