🔬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
 - cpucfg
Experimental  - Reads the CPU configuration register
 - crc_
w_ b_ w Experimental  - Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
 - crc_
w_ h_ w Experimental  - Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
 - crc_
w_ w_ w Experimental  - Calculate the CRC value using the IEEE 802.3 polynomial (0xEDB88320)
 - crcc_
w_ b_ w Experimental  - Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
 - crcc_
w_ h_ w Experimental  - Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
 - crcc_
w_ w_ w Experimental  - Calculate the CRC value using the Castagnoli polynomial (0x82F63B78)
 - csrrdâš 
Experimental  - Reads the CSR
 - csrwrâš 
Experimental  - Writes the CSR
 - csrxchgâš 
Experimental  - Exchanges the CSR
 - dbar
Experimental  - Generates the memory barrier instruction
 - frecipe_
d Experimental frecipe - Calculate the approximate double-precision result of 1.0 divided
 - frecipe_
s Experimental frecipe - Calculate the approximate single-precision result of 1.0 divided
 - frsqrte_
d Experimental frecipe - Calculate the approximate double-precision result of dividing 1.0 by the square root
 - frsqrte_
s Experimental frecipe - Calculate the approximate single-precision result of dividing 1.0 by the square root
 - ibar
Experimental  - 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
 - movfcsr2gr
Experimental  - Moves data from a FCSR to the GPR
 - movgr2fcsrâš 
Experimental  - Moves data from a GPR to the FCSR
 - rdtimeh_
w Experimental  - Reads the upper 32-bit stable counter value and the counter ID
 - rdtimel_
w Experimental  - Reads the lower 32-bit stable counter value and the counter ID
 - syscallâš 
Experimental  - Generates the syscall instruction