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

    pub unsafe fn __msa_hsub_s_d(a: v4i32, b: v4i32) -> v2i64

🔬 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` (four signed 32-bit integer numbers) are subtracted from the sign-extended elements in vector `a` (four signed 32-bit integer numbers) producing a result twice the size of the input operands. The result is written to vector (two signed 64-bit integer numbers).