Function core::arch::mips::__msa_binsri_h
source · pub unsafe fn __msa_binsri_h(a: v8u16, b: v8u16, const IMM4: i32) -> v8u16
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Available on (MIPS or MIPS-64) and target feature
msa
and MIPS only.Expand description
Immediate Bit Insert Right
Copy most significant (right) bits in each element of vector b
(eight unsigned 16-bit integer numbers)
to elements in vector a
(eight unsigned 16-bit integer numbers) while preserving the least significant (left) bits.
The number of bits to copy is given by the immediate imm4
modulo the size of the element in bits plus 1.