Module core::core_arch::riscv_shared
source · 🔬This is a nightly-only experimental API. (
stdsimd
#48556)Expand description
Shared RISC-V intrinsics
Re-exports
pub use p::*;
Experimental
Modules
- RISC-V Packed SIMD intrinsics; shared part.
Functions
- fence_i⚠ExperimentalGenerates the
FENCE.I
instruction - frcsrExperimentalReads the floating-point control and status register
fcsr
- frflagsExperimentalReads the floating-point accrued exception flags register
fflags
- frrmExperimentalReads the floating-point rounding mode register
frm
- fscsrExperimentalSwaps the floating-point control and status register
fcsr
- fsflagsExperimentalSwaps the floating-point accrued exception flags register
fflags
- fsrmExperimentalSwaps the floating-point rounding mode register
frm
- hfence_gvma⚠ExperimentalHypervisor memory management fence for guest physical address and virtual machine
- hfence_gvma_all⚠ExperimentalHypervisor memory management fence for all virtual machines and guest physical addresses
- hfence_gvma_gaddr⚠ExperimentalHypervisor memory management fence for guest physical address
- hfence_gvma_vmid⚠ExperimentalHypervisor memory management fence for given virtual machine
- hfence_vvma⚠ExperimentalHypervisor memory management fence for given guest virtual address and guest address space
- hfence_vvma_all⚠ExperimentalHypervisor memory management fence for all guest address spaces and guest virtual addresses
- hfence_vvma_asid⚠ExperimentalHypervisor memory management fence for given guest address space
- hfence_vvma_vaddr⚠ExperimentalHypervisor memory management fence for given guest virtual address
- hinval_gvma⚠ExperimentalInvalidate hypervisor translation cache for guest physical address and virtual machine
- hinval_gvma_all⚠ExperimentalInvalidate hypervisor translation cache for all virtual machines and guest physical addresses
- hinval_gvma_gaddr⚠ExperimentalInvalidate hypervisor translation cache for guest physical address
- hinval_gvma_vmid⚠ExperimentalInvalidate hypervisor translation cache for given virtual machine
- hinval_vvma⚠ExperimentalInvalidate hypervisor translation cache for given guest virtual address and guest address space
- hinval_vvma_all⚠ExperimentalInvalidate hypervisor translation cache for all guest address spaces and guest virtual addresses
- hinval_vvma_asid⚠ExperimentalInvalidate hypervisor translation cache for given guest address space
- hinval_vvma_vaddr⚠ExperimentalInvalidate hypervisor translation cache for given guest virtual address
- hlv_b⚠ExperimentalLoads virtual machine memory by signed byte integer
- hlv_bu⚠ExperimentalLoads virtual machine memory by unsigned byte integer
- hlv_h⚠ExperimentalLoads virtual machine memory by signed half integer
- hlv_hu⚠ExperimentalLoads virtual machine memory by unsigned half integer
- hlv_w⚠ExperimentalLoads virtual machine memory by signed word integer
- hlvx_hu⚠ExperimentalAccesses virtual machine instruction by unsigned half integer
- hlvx_wu⚠ExperimentalAccesses virtual machine instruction by unsigned word integer
- hsv_b⚠ExperimentalStores virtual machine memory by byte integer
- hsv_h⚠ExperimentalStores virtual machine memory by half integer
- hsv_w⚠ExperimentalStores virtual machine memory by word integer
- nopExperimentalGenerates the
NOP
instruction - pauseExperimentalGenerates the
PAUSE
instruction - sfence_inval_ir⚠ExperimentalGenerates the
SFENCE.INVAL.IR
instruction - sfence_vma⚠ExperimentalSupervisor memory management fence for given virtual address and address space
- sfence_vma_all⚠ExperimentalSupervisor memory management fence for all address spaces and virtual addresses
- sfence_vma_asid⚠ExperimentalSupervisor memory management fence for given address space
- sfence_vma_vaddr⚠ExperimentalSupervisor memory management fence for given virtual address
- sfence_w_inval⚠ExperimentalGenerates the
SFENCE.W.INVAL
instruction - sinval_vma⚠ExperimentalInvalidate supervisor translation cache for given virtual address and address space
- sinval_vma_all⚠ExperimentalInvalidate supervisor translation cache for all address spaces and virtual addresses
- sinval_vma_asid⚠ExperimentalInvalidate supervisor translation cache for given address space
- sinval_vma_vaddr⚠ExperimentalInvalidate supervisor translation cache for given virtual address
P0
transformation function as is used in the SM3 hash algorithmP1
transformation function as is used in the SM3 hash algorithm- Accelerates the round function
F
in the SM4 block cipher algorithm - Accelerates the key schedule operation in the SM4 block cipher algorithm
- wfi⚠ExperimentalGenerates the
WFI
instruction