Module loongarch_shared

Source
Expand description

Shared LoongArch intrinsics

Functionsยง

__break ๐Ÿ”’ โš 
__cpucfg ๐Ÿ”’ โš 
__crc_w_b_w ๐Ÿ”’ โš 
__crc_w_h_w ๐Ÿ”’ โš 
__crc_w_w_w ๐Ÿ”’ โš 
__crcc_w_b_w ๐Ÿ”’ โš 
__crcc_w_h_w ๐Ÿ”’ โš 
__crcc_w_w_w ๐Ÿ”’ โš 
__dbar ๐Ÿ”’ โš 
__frecipe_d ๐Ÿ”’ โš 
__frecipe_s ๐Ÿ”’ โš 
__frsqrte_d ๐Ÿ”’ โš 
__frsqrte_s ๐Ÿ”’ โš 
__ibar ๐Ÿ”’ โš 
__iocsrrd_b ๐Ÿ”’ โš 
__iocsrrd_h ๐Ÿ”’ โš 
__iocsrrd_w ๐Ÿ”’ โš 
__iocsrwr_b ๐Ÿ”’ โš 
__iocsrwr_h ๐Ÿ”’ โš 
__iocsrwr_w ๐Ÿ”’ โš 
__movfcsr2gr ๐Ÿ”’ โš 
__movgr2fcsr ๐Ÿ”’ โš 
__syscall ๐Ÿ”’ โš 
brkโš Experimental
Generates the breakpoint 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)
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