Computer Chess Club Archives


Search

Terms

Messages

Subject: Crafty 19.10 bench on Dual G5

Author: Frank E. Oldham

Date: 19:37:32 02/17/04


machine is dual 2GHz Powermac G5

wit default hash, here's results for 1 and 2 cpus

=============================================
Crafty v19.10 (1 cpus)

White(1): bench
...Total nodes: 89942714
Raw nodes per second: 1249204
Total elapsed time: 72
SMP time-to-ply measurement: 8.888889
=============================================
Crafty v19.10 (1 cpus)

White(1): mt=2
max threads set to 2
White(1): bench
...
Total nodes: 83479388
Raw nodes per second: 2455276
Total elapsed time: 34
SMP time-to-ply measurement: 18.823529
=============================================

extra gcc options:
-mcpu=G5  -mtune=G5 -mpowerpc64 -ffast-math \
-fstrict-aliasing -fsched-interblock -fomit-frame-pointer \
-falign-loops=16 -falign-jumps=16 -falign-labels=16 -falign-functions=16
-malign-natural  \
-fasm-blocks' \

uses assembly language FirstOne and LastOne;
for example,
		square = FirstOne(temp)
becomes
		asm("cntlzd %0, %1" : "=r" (square) : "r" (temp));
and
		from = LastOne(piecebd);
becomes
		asm("cntlzd %0, %1" : "=r" (from) : "r" (piecebd ^ (piecebd - 1)));


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.