hlv_h in core::arch::riscv64 - Rust
Description: Loads virtual machine memory by signed half integer
Keywords: rust, rustlang, rust-lang, hlv_h

# Function core::arch::riscv64::hlv_h

source · [−]

    pub unsafe fn hlv_h(src: *const i16) -> i16

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

Loads virtual machine memory by signed half 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 `HLV.H` instruction which is effectively a dereference to any memory address.