Skip to main content

__msa_subs_u_d

Function __msa_subs_u_d 

Source
pub unsafe fn __msa_subs_u_d(a: v2u64, b: v2u64) -> v2u64
🔬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 (two unsigned 64-bit integer numbers) are subtracted from the elements in vector a (two unsigned 64-bit integer numbers). Unsigned arithmetic is performed and under-flows clamp to 0 before writing the result to vector (two unsigned 64-bit integer numbers).