forked from KolibriOS/kolibrios
TCP_input: dont use conditional move instruction. (not available on some machines)
git-svn-id: svn://kolibrios.org@4296 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
31ad68350f
commit
5842e9f374
@ -882,7 +882,9 @@ TCP_process_input:
|
|||||||
|
|
||||||
mov eax, [ebx + TCP_SOCKET.SND_WND]
|
mov eax, [ebx + TCP_SOCKET.SND_WND]
|
||||||
cmp eax, [ebx + TCP_SOCKET.SND_CWND]
|
cmp eax, [ebx + TCP_SOCKET.SND_CWND]
|
||||||
cmova eax, [ebx + TCP_SOCKET.SND_CWND]
|
jbe @f
|
||||||
|
mov eax, [ebx + TCP_SOCKET.SND_CWND]
|
||||||
|
@@:
|
||||||
shr eax, 1
|
shr eax, 1
|
||||||
push edx
|
push edx
|
||||||
xor edx, edx
|
xor edx, edx
|
||||||
@ -1067,7 +1069,9 @@ TCP_process_input:
|
|||||||
pop ecx
|
pop ecx
|
||||||
|
|
||||||
cmp esi, eax
|
cmp esi, eax
|
||||||
cmova esi, eax
|
jbe @f
|
||||||
|
mov esi, eax
|
||||||
|
@@:
|
||||||
mov [ebx + TCP_SOCKET.SND_CWND], esi
|
mov [ebx + TCP_SOCKET.SND_CWND], esi
|
||||||
|
|
||||||
;------------------------------------------
|
;------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user