Skip to main content

__msa_subs_u_h

Function __msa_subs_u_h 

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

Vector Unsigned Saturated Subtract of Unsigned Values

The elements in vector b (eight unsigned 16-bit integer numbers) are subtracted from the elements in vector a (eight unsigned 16-bit integer numbers). Unsigned arithmetic is performed and under-flows clamp to 0 before writing the result to vector (eight unsigned 16-bit integer numbers).