You copied the Doc URL to your clipboard.

CRC32B, CRC32H, CRC32W, CRC32X

CRC32 checksum.

Syntax

CRC32B Wd, Wn, Wm ; Wd = CRC32(Wn, Rm[7:0])

CRC32H Wd, Wn, Wm ; Wd = CRC32(Wn, Rm[15:0])

CRC32W Wd, Wn, Wm ; Wd = CRC32(Wn, Rm[31:0])

CRC32X Wd, Wn, Xm ; Wd = CRC32(Wn, Rm[63:0])

Where:

Wm

Is the 32-bit name of the general-purpose data source register.

Xm

Is the 64-bit name of the general-purpose data source register.

Wd

Is the 32-bit name of the general-purpose accumulator output register.

Wn

Is the 32-bit name of the general-purpose accumulator input register.

Usage

CRC32 checksum performs a cyclic redundancy check (CRC) calculation on a value held in a general-purpose register. It is an OPTIONAL instruction. It takes an input CRC value in the first source operand, performs a CRC on an input value in the second source operand that can be 8, 16, 32, or 64 bits, and returns the output CRC value. To align with common usage, the bit order of the values is reversed as part of the operation, and the polynomial 0x04C11DB7 is used for the CRC calculation.

Was this page helpful? Yes No