2
0
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:
Abdur-Rahman Mansoor 2024-05-29 15:56:56 -04:00
parent 8620d5f2a0
commit cde3e5b9f8

View File

@ -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