REDACTED-rig/src/crypto/randomx/asm/randomx_reciprocal.inc
2019-07-01 20:11:51 +02:00

7 lines
No EOL
78 B
PHP

mov edx, 1
mov r8, rcx
xor eax, eax
bsr rcx, rcx
shl rdx, cl
div r8
ret