Computer Chess Club Archives


Search

Terms

Messages

Subject: GCC and FirstBit()

Author: Frank Phillips

Date: 13:13:13 10/18/00


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



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.