mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2024-12-22 22:08: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
|
||||
jnz @f
|
||||
ret
|
||||
|
||||
@@:
|
||||
shl eax, 1
|
||||
dec ecx
|
||||
test ecx, ecx
|
||||
jnz @b
|
||||
shl eax, ecx
|
||||
pop ecx
|
||||
ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user