crc32d

Cyclic Redundancy Check 32-bit Doubleword

crc32d RA, RS

Accumulates a CRC32 checksum using the doubleword in RS.

Details

Accumulates a CRC32 checksum by processing the 64-bit doubleword 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[0:63])

Example

crc32d r4, r3

Encoding

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

Operands

  • RA
    Target/Accumulator
  • RS
    Data