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

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

    pub unsafe fn __msa_shf_h(a: v8i16, imm8: i32) -> v8i16

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

Immediate Set Shuffle Elements

The set shuffle instruction works on 4-element sets. All sets are shuffled in the same way: the element i82i+1..2i in `a` (eight signed 16-bit integer numbers) is copied over the element i in result vector (eight signed 16-bit integer numbers), where i is 0, 1, 2, 3.