Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: GCC and FirstBit()

Author: Andrew Williams

Date: 13:26:54 10/18/00

Go up one level in this thread


On October 18, 2000 at 16:13:13, Frank Phillips wrote:

>Can anyone point me to a freeware version of Eugene?s FirstBit(), LastBit() and
>PopCnt() assembly functions for Linux (gcc), preferably in the form of a
>#define for inclusion in a header file.
>
>Much as I like Linux, my program is about 20 to 30 percent slower under Linux
>than it is when compiled with MS VC++ under Windows.
>
>Profiling shows that the array based lookup to find the first or last bit is
>taking most time.
>
>Frank

Hi,

I don't use assembly in my program, but there are some interesting routines
here:
	http://www.df.lth.se/~john_e/fr_gems.html

I don't know if they are written for a Linux assembler or not.

Cheers

Andrew



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.