Skip to main content

__msa_asub_s_h

Function __msa_asub_s_h 

Source
pub unsafe fn __msa_asub_s_h(a: v8i16, b: v8i16) -> v8i16
🔬This is a nightly-only experimental API. (stdarch_mips #111198)
Available on MIPS-64 and target feature msa and (MIPS or MIPS-64) only.
Expand description

Vector Absolute Values of Signed Subtract

The signed elements in vector a (eight signed 16-bit integer numbers) are subtracted from the signed elements in vector b (eight signed 16-bit integer numbers). The absolute value of the signed result is written to vector (eight signed 16-bit integer numbers).