core::arch::loongarch32 - Rust
Description: Platform-specific intrinsics for the `loongarch32` platform.

Skip to main content

## 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_dExperimental`frecipe`
  Calculate the approximate double-precision result of 1.0 divided
frecipe_sExperimental`frecipe`
  Calculate the approximate single-precision result of 1.0 divided
frsqrte_dExperimental`frecipe`
  Calculate the approximate double-precision result of dividing 1.0 by the square root
frsqrte_sExperimental`frecipe`
  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