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

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

    pub unsafe fn __msa_sld_w(a: v4i32, b: v4i32, c: i32) -> v4i32

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

GPR Columns Slide

Vector registers `a` (four signed 32-bit integer numbers) and `b` (four signed 32-bit integer numbers) contain 2-dimensional byte arrays (rectangles) stored row-wise with as many rows as bytes in integer data format df. The two source rectangles `b` and `a` are concatenated horizontally in the order they appear in the syntax, i.e. first `a` and then `b`. Place a new destination rectangle over `b` and then slide it to the left over the concatenation of `a` and `b` by the number of columns given in GPR `c`. The result is written to vector (four signed 32-bit integer numbers). GPR `c` value is interpreted modulo the number of columns in destination rectangle, or equivalently, the number of data format df elements in the destination vector.