Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: is this really faster?

Author: Dieter Buerssner

Date: 12:50:26 04/18/03

Go up one level in this thread


On April 18, 2003 at 15:43:02, Uri Blass wrote:

>If I replace it by your function my code run slower.
>Note that I get 0 in most of the cases that I call PopCount.

Yes, this can be expected, although it should not be much slower. When you don't
get 0 most often, my code should be faster on architectures, that don't have
native support for 64 bit (like x86). The code I posted is more or less an exact
backtranslation of the assembly from Gerd to C-code.

Regards,
Dieter



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.