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

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

    pub unsafe fn __msa_srar_b(a: v16i8, b: v16i8) -> v16i8

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

Vector Shift Right Arithmetic Rounded

The elements in vector `a` (sixteen signed 8-bit integer numbers) are shifted right arithmetic by the number of bits the elements in vector `b` (sixteen signed 8-bit integer numbers) specify modulo the size of the element in bits.The most significant discarded bit is added to the shifted value (for rounding) and the result is written to vector (sixteen signed 8-bit integer numbers).