Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Linux

Author: Andrew Williams

Date: 05:47:16 08/22/99

Go up one level in this thread


On August 22, 1999 at 08:35:28, Frank Phillips wrote:

>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.
>

On my K6-2 300, I use:
	gcc -O6 -malign-functions=3

Which is as fast as I can get it. I don't have Windows, so I can't compare.


Andrew Williams


>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 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.