crc32w

Cyclic Redundancy Check 32-bit Word

crc32w RA, RS

Accumulates a CRC32 checksum using the word in RS.

Details

Accumulates a CRC32 checksum by processing the 32-bit word in RS using the Castagnoli polynomial. The result is XORed with the accumulator in RA and stored back to RA. This instruction is part of the Base extension and does not affect condition registers or status fields.

Pseudocode Operation

RA ← CRC32(RA, RS[32:63])

Example

crc32w r4, r3

Encoding

Binary Layout
31
0
RS
6
RA
11
0
16
650
21
/
31
 
Format X-form
Opcode 0x7C00028A
Extension Base

Operands

  • RA
    Target/Accumulator
  • RS
    Data