Skip to content

CRC32

Operation

Updates a 32-bit CRC accumulator with selected source bytes.

Assembler Syntax

CRC32.{B|W|L|Q}(z) <ea>(e), Rn(d)

Privilege

Unprivileged

Required CPUID flags

CRC32

Repeat eligibility

REP eligible; REPcc observes dst

Updates the low 32 bits of the destination as a reflected CRC-32 accumulator using polynomial exttt0xEDB88320. Source bytes are consumed from least-significant to most-significant; the instruction applies no implicit initial or final XOR. The result is zero-extended to 64 bits.

2.75in

Encodings

CRC32.{B|W|L|Q}(z) <ea>(e), Rn(d)

Format: Instruction format for CRC32.{B|W|L|Q}(z) <ea>(e), Rn(d)

Format: Instruction format for CRC32.{B|W|L|Q}(z) <ea>(e), Rn(d)