_mm_crc32_u8
Classification
SSE_ALL, Cryptography, CPUID Test: SSE4.2
Header File
nmmintrin.h
Instruction
CRC32 r32, r8
Synopsis
 _mm_crc32_u8(unsigned int crc, unsigned char v);
Description
Starting with the initial value in "crc", accumulates a CRC32 value for unsigned 8-bit integer "v", and stores the result in "dst".
Operation
tmp1[7:0] := v[0:7] // bit reflection
tmp2[31:0] := crc[0:31] // bit reflection
tmp3[39:0] := tmp1[7:0] << 32 
tmp4[39:0] := tmp2[31:0] << 8
tmp5[39:0] := tmp3[39:0] XOR tmp4[39:0]
tmp6[31:0] := MOD2(tmp5[39:0], 0x11EDC6F41) // remainder from polynomial division modulus 2
dst[31:0] := tmp6[0:31] // bit reflection