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

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

    pub unsafe fn __msa_hsub_s_w(a: v8i16, b: v8i16) -> v4i32

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

Vector Signed Horizontal Subtract

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