Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bitscanning on the Opteron (LOL)

Author: Andreas Guettinger

Date: 09:57:01 12/05/03

Go up one level in this thread


In case somebody is interested (and I highly doubt that) here are the values for
my PPC G4 (7400)
compiled with gcc -O3:

 magic bitscan 2980130816 43.370
  magic bitscan 2980130816 43.450
  magic bitscan 2980130816 43.390
  magic bitscan 2980130816 43.490
  ------------------------------
       table 16 2980130816 20.030
       table 16 2980130816 21.550
       table 16 2980130816 20.290
       table 16 2980130816 20.320
  ------------------------------
           gerd 2980130816 28.980
           gerd 2980130816 28.990
           gerd 2980130816 30.520
           gerd 2980130816 28.970
  ------------------------------
         eugene 2980130816 34.050
         eugene 2980130816 33.930
         eugene 2980130816 33.810
         eugene 2980130816 33.890
  ------------------------------
        eugene2 2980130816 23.080
        eugene2 2980130816 22.960
        eugene2 2980130816 22.970
        eugene2 2980130816 23.710

regards
andy



On December 05, 2003 at 00:22:11, Russell Reagan wrote:

>I found an old piece of code I had written to test the speed of a few
>bitscanning routines (ex. FirstOne() in Crafty). I was curious how different
>they would run on a 64-bit machine, so I sent them to Dr. Hyatt and he was kind
>enough to run them for me on the Opteron. Thanks Bob ;-)
>
>The source code of my program is below. The output of the program is in the
>form: <name of routine> <checksum> <seconds>. Lower times are better.
>
>Here are the results on my 32-bit 2GHz Athlon:
>
>  magic bitscan 2980130816 11.987
>  magic bitscan 2980130816 12.207
>  magic bitscan 2980130816 12.338
>  magic bitscan 2980130816 12.448
>  ------------------------------
>       table 16 2980130816 7.250
>       table 16 2980130816 7.251
>       table 16 2980130816 7.140
>       table 16 2980130816 7.040
>  ------------------------------
>           gerd 2980130816 9.243
>           gerd 2980130816 9.264
>           gerd 2980130816 9.253
>           gerd 2980130816 9.273
>  ------------------------------
>         eugene 2980130816 7.201
>         eugene 2980130816 7.170
>         eugene 2980130816 7.190
>         eugene 2980130816 7.191
>  ------------------------------
>        eugene2 2980130816 7.230
>        eugene2 2980130816 7.261
>        eugene2 2980130816 7.250
>        eugene2 2980130816 6.780
>
>Here are the results from the 1.8ghz Opteron:
>
>  magic bitscan 2980130816 4.040
>  magic bitscan 2980130816 4.350
>  magic bitscan 2980130816 4.350
>  magic bitscan 2980130816 4.350
>  ------------------------------
>       table 16 2980130816 4.600
>       table 16 2980130816 4.820
>       table 16 2980130816 4.240
>       table 16 2980130816 4.340
>  ------------------------------
>           gerd 2980130816 5.790
>           gerd 2980130816 5.780
>           gerd 2980130816 5.440
>           gerd 2980130816 5.440
>  ------------------------------
>         eugene 2980130816 3.990
>         eugene 2980130816 3.960
>         eugene 2980130816 3.770
>         eugene 2980130816 3.470
>  ------------------------------
>        eugene2 2980130816 3.690
>        eugene2 2980130816 3.690
>        eugene2 2980130816 3.680
>        eugene2 2980130816 3.690
>



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.