Computer Chess Club Archives


Search

Terms

Messages

Subject: Linux

Author: Frank Phillips

Date: 05:35:28 08/22/99


I have just ported my chess program to Linux (RedHat5.2) and compiled it with
egcs.  Sadly it is about 30 percent slower than under W98 compiled with MSVC++
5.  I have tried various compiler options, but plain and simple  –O –mpentium
seems about fastest on my K6.

The W98 version of my program relies on the vcinline.h code in crafty to do
PopCnt(), FirstOne() and LastOne().  Egcs (GNU assembler) does not seem to
understand MS assembly language, so I used x86.s to replace these functions for
the Linux version.  This does not seem to be main the problem, however, since
comparisons using boolean.c from crafty in place of vcinline.h and x86.s give
about the same advantage to W98/MSVC++.   Has anyone else had a similar
experience?

Frank

BTW if anyone knows where I can get an Xserver for an Ati Rage Fury (Rage 128)
AGP card please tell me.  I can then run Linux and KDE on my PII 450.




This page took 0.21 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.