Function core::arch::mips::__msa_insert_w
source · pub unsafe fn __msa_insert_w(a: v4i32, const IMM2: i32, c: i32) -> v4i32
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Available on (MIPS or MIPS-64) and target feature
msa
and MIPS only.Expand description
GPR Insert Element
Set element imm2
in vector a
(four signed 32-bit integer numbers) to GPR c
value.
All other elements in vector a
are unchanged. If the source GPR is wider than the
destination data format, the destination’s elements will be set to the least significant bits of the GPR.