Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: BSF/R not working well for me...

Author: Victor Zakharov

Date: 12:21:04 04/24/01

Go up one level in this thread


>>       xor  ecx,ecx
>>       cmp  dword ptr data+4,0
>>       setnz cl

>I'd recommend to use sbb instead of xor/setz, i.e. beginning of the 2nd
>procedure should look something like
>
>       cmp  dword ptr data, 1
>       sbb  ecx, ecx
>       mov  edx,dword ptr [data+4+ecx*4]
>
>Eugene

As I remember it is the same for P-II and P-III. But surely some processors
could be faster with the second sequence.

Victor



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.