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
crc_w_b_wExperimentalLoongArch32 or LoongArch64
Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
crc_w_h_wExperimentalLoongArch32 or LoongArch64
Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
crc_w_w_wExperimentalLoongArch32 or LoongArch64
Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
crcc_w_b_wExperimentalLoongArch32 or LoongArch64
Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
crcc_w_h_wExperimentalLoongArch32 or LoongArch64
Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
crcc_w_w_wExperimentalLoongArch32 or LoongArch64
Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
csrrdâš Experimental
Reads the CSR
csrwrâš Experimental
Writes the CSR
csrxchgâš Experimental
Exchanges the CSR
dbarExperimentalLoongArch32 or LoongArch64
Generates the memory barrier instruction
frecipe_dExperimental(LoongArch32 or LoongArch64) and frecipe
Calculate the approximate double-precision result of 1.0 divided
frecipe_sExperimental(LoongArch32 or LoongArch64) and frecipe
Calculate the approximate single-precision result of 1.0 divided
frsqrte_dExperimental(LoongArch32 or LoongArch64) and frecipe
Calculate the approximate double-precision result of dividing 1.0 by the square root
frsqrte_sExperimental(LoongArch32 or LoongArch64) and frecipe
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