# Function core::arch::riscv32::hsv_w

source · [−]

    pub unsafe fn hsv_w(dst: *mut i32, src: i32)

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on `target_arch="riscv32"` only.
Expand description

Stores virtual machine memory by word integer

This instruction performs an explicit memory access as though `V=1`; i.e., with the address translation and protection, and the endianness, that apply to memory accesses in either VS-mode or VU-mode.

This function is unsafe for it accesses the virtual supervisor or user via a `HSV.W` instruction which is effectively a dereference to any memory address.