Computer Chess Club Archives


Search

Terms

Messages

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

Author: Victor Zakharov

Date: 00:52:33 04/25/01

Go up one level in this thread


>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

I realized that it will not work in this case as ecx value 1 is used then in
shift operaton. Here is ecx = -1.

May be
        inc  ecx
will help. But it could  be already slower.

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.