Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: is this really faster?

Author: Filip Tvrzsky

Date: 16:58:42 04/21/03

Go up one level in this thread


On April 21, 2003 at 19:31:15, Filip Tvrzsky wrote:
>
>It is very strange, but my test results are rather different!
>Compiler is gcc 3.2, CPU is Duron 600@900.
>
>1) With only -O3 optimization:
>   res 3880000000
>   gerd()          32,520 s
>   crafty()        47,950 s
>   dieter()        47,010 s
>
>2) With following optimization settings set (-O3 and -fsave-memoized
>-fno-exceptions -fmerge-all-constants -save-temps -march=athlon -mcpu=athlon
>-mmmx -funroll-loops -fomit-frame-pointer) which is my favorite now:
>   res 3880000000
>   gerd()          18,350 s
>   crafty()        37,290 s
>   dieter()        41,750 s
>
>Maybe, I should little bit investigate compiler assembler output ...
>Filip

And with -O2 instead of -O3.

3) Only -O2:
   gerd()           32,520 s
   crafty()         45,470 s
   dieter()         47,680 s

4) -O2 -fsave-memoized -fno-exceptions -fmerge-all-constants -save-temps -
march=athlon -mcpu=athlon -mmmx -funroll-loops -fomit-frame-pointer:
   gerd()           19,060 s
   crafty()         39,710 s
   dieter()         41,080 s

Filip



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.