Skip to main content

Module loongarch32

Module loongarch32 

Source
🔬This is a nightly-only experimental API. (stdarch_loongarch #117427)
Available on LoongArch32 only.
Expand description

Platform-specific intrinsics for the loongarch32 platform.

See the module documentation for more details.

Functions§

brk⚠ExperimentalLoongArch32 or LoongArch64
Generates the breakpoint instruction
cacop⚠Experimental
Generates the cache operation instruction
cpucfgExperimentalLoongArch32 or LoongArch64
Reads the CPU configuration register
csrrd⚠Experimental
Reads the CSR
csrwr⚠Experimental
Writes the CSR
csrxchg⚠Experimental
Exchanges the CSR
dbarExperimentalLoongArch32 or LoongArch64
Generates the memory barrier instruction
frecipe_dExperimentalfrecipe and (LoongArch32 or LoongArch64)
Calculate the approximate double-precision result of 1.0 divided
frecipe_sExperimentalfrecipe and (LoongArch32 or LoongArch64)
Calculate the approximate single-precision result of 1.0 divided
frsqrte_dExperimentalfrecipe and (LoongArch32 or LoongArch64)
Calculate the approximate double-precision result of dividing 1.0 by the square root
frsqrte_sExperimentalfrecipe and (LoongArch32 or LoongArch64)
Calculate the approximate single-precision result of dividing 1.0 by the square root
ibarExperimentalLoongArch32 or LoongArch64
Generates the instruction-fetch barrier instruction
iocsrrd_b⚠ExperimentalLoongArch32 or LoongArch64
Reads the 8-bit IO-CSR
iocsrrd_h⚠ExperimentalLoongArch32 or LoongArch64
Reads the 16-bit IO-CSR
iocsrrd_w⚠ExperimentalLoongArch32 or LoongArch64
Reads the 32-bit IO-CSR
iocsrwr_b⚠ExperimentalLoongArch32 or LoongArch64
Writes the 8-bit IO-CSR
iocsrwr_h⚠ExperimentalLoongArch32 or LoongArch64
Writes the 16-bit IO-CSR
iocsrwr_w⚠ExperimentalLoongArch32 or LoongArch64
Writes the 32-bit IO-CSR
movfcsr2grExperimentalLoongArch32 or LoongArch64
Moves data from a FCSR to the GPR
movgr2fcsr⚠ExperimentalLoongArch32 or LoongArch64
Moves data from a GPR to the FCSR
rdtimeh_wExperimentalLoongArch32 or LoongArch64
Reads the upper 32-bit stable counter value and the counter ID
rdtimel_wExperimentalLoongArch32 or LoongArch64
Reads the lower 32-bit stable counter value and the counter ID
syscall⚠ExperimentalLoongArch32 or LoongArch64
Generates the syscall instruction