Module loongarch32

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

Platform-specific intrinsics for the loongarch32 platform.

See the module documentation for more details.

Functions§

brkâš Experimental
Generates the breakpoint instruction
cacopâš Experimental
Generates the cache operation instruction
cpucfgExperimental
Reads the CPU configuration register
crc_w_b_wExperimental
Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
crc_w_h_wExperimental
Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
crc_w_w_wExperimental
Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
crcc_w_b_wExperimental
Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
crcc_w_h_wExperimental
Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
crcc_w_w_wExperimental
Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
csrrdâš Experimental
Reads the CSR
csrwrâš Experimental
Writes the CSR
csrxchgâš Experimental
Exchanges the CSR
dbarExperimental
Generates the memory barrier instruction
frecipe_dExperimentalfrecipe
Calculate the approximate double-precision result of 1.0 divided
frecipe_sExperimentalfrecipe
Calculate the approximate single-precision result of 1.0 divided
frsqrte_dExperimentalfrecipe
Calculate the approximate double-precision result of dividing 1.0 by the square root
frsqrte_sExperimentalfrecipe
Calculate the approximate single-precision result of dividing 1.0 by the square root
ibarExperimental
Generates the instruction-fetch barrier instruction
iocsrrd_bâš Experimental
Reads the 8-bit IO-CSR
iocsrrd_hâš Experimental
Reads the 16-bit IO-CSR
iocsrrd_wâš Experimental
Reads the 32-bit IO-CSR
iocsrwr_bâš Experimental
Writes the 8-bit IO-CSR
iocsrwr_hâš Experimental
Writes the 16-bit IO-CSR
iocsrwr_wâš Experimental
Writes the 32-bit IO-CSR
movfcsr2grExperimental
Moves data from a FCSR to the GPR
movgr2fcsrâš Experimental
Moves data from a GPR to the FCSR
rdtimeh_wExperimental
Reads the upper 32-bit stable counter value and the counter ID
rdtimel_wExperimental
Reads the lower 32-bit stable counter value and the counter ID
syscallâš Experimental
Generates the syscall instruction