fscsr in core::arch::riscv64 - Rust
Description: Swaps the floating-point control and status register `fcsr`
Keywords: rust, rustlang, rust-lang, fscsr

# Function core::arch::riscv64::fscsr

source · [−]

    pub fn fscsr(value: u32) -> u32

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
Available on RISC-V RV64 only.
Expand description

Swaps the floating-point control and status register `fcsr`

This function swaps the value in `fcsr` by copying the original value to be returned, and then writing a new value obtained from input variable `value` into `fcsr`.