2
0
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:
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 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