RandomWOW/src/asm/randomx_reciprocal.inc

7 lines
78 B
PHP

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