Skip to content

Commit

Permalink
crc32c-gas.S: fix for amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed Apr 10, 2021
1 parent 9da5491 commit 3dde746
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/crc32c-gas.S
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ mov r10b, byte ptr [rdx]
xor al, r10b
and rax, 255
shl rax, 2
mov rax, [crctable + rax]
movabs r10, offset crctable
mov eax, dword ptr [r10 + rax]
xor rax, rcx

inc rdx
Expand Down

0 comments on commit 3dde746

Please sign in to comment.