Rybka 1.0 beta does not call setjmp() anywhere in the entire program.Zach Wegner wrote:Incorrect. Post #2.chrisw wrote:setjmp() post was post #1, reproduced below.
http://talkchess.com/forum/viewtopic.php?p=209411No, I don't see it. Where does he say what you suggest, going thru line by line ... identical to here ... Rybka different ... sync again ...?
Of course, I don't expect that this would make any difference in yours or George's ramblings.
Fruit, on the other hand, calls it:
Code: Select all
loc_40EAFF: ; CODE XREF: sub_40EAC0+14D21j
push ebx
push offset unk_448AD0
call __setjmp3
Code: Select all
.text:0041E334 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
.text:0041E334
.text:0041E334 ; Attributes: library function
.text:0041E334
.text:0041E334 __setjmp3 proc near ; CODE XREF: sub_40EAC0+45p
.text:0041E334
.text:0041E334 arg_0 = dword ptr 4
.text:0041E334 arg_4 = dword ptr 8
.text:0041E334 arg_8 = dword ptr 0Ch
.text:0041E334 arg_C = dword ptr 10h
.text:0041E334 arg_10 = dword ptr 14h
.text:0041E334
.text:0041E334 mov edx, [esp+arg_0]
.text:0041E338 mov [edx], ebp
.text:0041E33A mov [edx+4], ebx
.text:0041E33D mov [edx+8], edi
.text:0041E340 mov [edx+0Ch], esi
.text:0041E343 mov [edx+10h], esp
.text:0041E346 mov eax, [esp+0]
.text:0041E349 mov [edx+14h], eax
.text:0041E34C mov dword ptr [edx+20h], 56433230h
.text:0041E353 mov dword ptr [edx+24h], 0
.text:0041E35A mov eax, large fs:0
.text:0041E360 mov [edx+18h], eax
.text:0041E363 cmp eax, 0FFFFFFFFh
.text:0041E366 jnz short loc_41E371
.text:0041E368 mov dword ptr [edx+1Ch], 0FFFFFFFFh
.text:0041E36F jmp short loc_41E3AC
.text:0041E371 ; ---------------------------------------------------------------------------
.text:0041E371
.text:0041E371 loc_41E371: ; CODE XREF: __setjmp3+32j
.text:0041E371 mov ecx, [esp+arg_4]
.text:0041E375 or ecx, ecx
.text:0041E377 jz short loc_41E383
.text:0041E379 mov eax, [esp+arg_8]
.text:0041E37D mov [edx+24h], eax
.text:0041E380 dec ecx
.text:0041E381 jnz short loc_41E38B
.text:0041E383
.text:0041E383 loc_41E383: ; CODE XREF: __setjmp3+43j
.text:0041E383 mov eax, [eax+0Ch]
.text:0041E386 mov [edx+1Ch], eax
.text:0041E389 jmp short loc_41E3AC
.text:0041E38B ; ---------------------------------------------------------------------------
.text:0041E38B
.text:0041E38B loc_41E38B: ; CODE XREF: __setjmp3+4Dj
.text:0041E38B mov eax, [esp+arg_C]
.text:0041E38F mov [edx+1Ch], eax
.text:0041E392 dec ecx
.text:0041E393 jz short loc_41E3AC
.text:0041E395 push esi
.text:0041E396 push edi
.text:0041E397 lea esi, [esp+8+arg_10]
.text:0041E39B lea edi, [edx+28h]
.text:0041E39E cmp ecx, 6
.text:0041E3A1 jbe short loc_41E3A8
.text:0041E3A3 mov ecx, 6
.text:0041E3A8
.text:0041E3A8 loc_41E3A8: ; CODE XREF: __setjmp3+6Dj
.text:0041E3A8 rep movsd
.text:0041E3AA pop edi
.text:0041E3AB pop esi
.text:0041E3AC
.text:0041E3AC loc_41E3AC: ; CODE XREF: __setjmp3+3Bj
.text:0041E3AC ; __setjmp3+55j ...
.text:0041E3AC sub eax, eax
.text:0041E3AE retn
.text:0041E3AE __setjmp3 endp