Function core::arch::mips::__msa_sat_u_h[][src]

pub unsafe fn __msa_sat_u_h<const IMM4: i32>(a: v8u16) -> v8u16
🔬 This is a nightly-only experimental API. (stdsimd #48556)
This is supported on MIPS and target feature msa only.
Expand description

Immediate Unsigned Saturate

Unsigned elements in vector a (eight unsigned 16-bit integer numbers) are saturated to unsigned values of imm4+1 bits without changing the data width. The result is stored in the vector (eight unsigned 16-bit integer numbers).