core::arch::mips::__msa_insert_h - Rust
Description: API documentation for the Rust `__msa_insert_h` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, __msa_insert_h

# [−][src]Function core::arch::mips::__msa_insert_h

    pub unsafe fn __msa_insert_h(a: v8i16, imm3: i32, c: i32) -> v8i16

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on MIPS and target feature `msa` only.

GPR Insert Element

Set element `imm3` in vector `a` (eight signed 16-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.