mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2024-12-23 06:18:47 +01:00
perf(pow2): remove loop
This commit is contained in:
parent
8620d5f2a0
commit
cde3e5b9f8
@ -393,12 +393,7 @@ proc pow2 stdcall, x:dword
|
|||||||
test ecx, ecx
|
test ecx, ecx
|
||||||
jnz @f
|
jnz @f
|
||||||
ret
|
ret
|
||||||
|
shl eax, ecx
|
||||||
@@:
|
|
||||||
shl eax, 1
|
|
||||||
dec ecx
|
|
||||||
test ecx, ecx
|
|
||||||
jnz @b
|
|
||||||
pop ecx
|
pop ecx
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user