Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: 64Bit optimize coding - My experience (AMD64)

Author: Andreas Guettinger

Date: 09:58:16 12/21/05

Go up one level in this thread


Unfortunately the new G5 executable of Homer is 10% slower than the 32bit
executable. :(
(Numbers posted in the previous thread).

For comparision, the speedup of 64bit crafty on a G5 is around 50%.
(Please consider that on ppc the number and width of registers doesn't
change between 32bit and 64bit mode).


darwin:
	$(MAKE) target=DARWIN \
		CC=gcc CXX=g++ \
		CFLAGS='$(CFLAGS) -Wall -pipe -O2' \
		CXFLAGS=$(CFLAGS) \
		LDFLAGS=$(LDFLAGS) \
		LIBS='-lstdc++' \
		opt='$(opt) -DFUTILITY -DFAST' \
		crafty-make

darwinG5:
	$(MAKE) target=DARWIN \
		CC=gcc CXX=g++ \
		CFLAGS='$(CFLAGS) -Wall -pipe -D_REENTRANT -O2 -mcpu=G5 \
			-mtune=G5' \
		CXFLAGS=$(CFLAGS) \
		LDFLAGS='$(LDFLAGS) -lpthread'  \
		LIBS='-lstdc++' \
		opt='$(opt) -DFUTILITY -DSMP -DMUTEX -DPOSIX -DCPUS=4  \
			-DPPC64 -DFAST' \
		crafty-make


Crafty v19.19

White(1): bench
Running benchmark. . .
......
Total nodes: 96761642
Raw nodes per second: 1063314
Total elapsed time: 91
SMP time-to-ply measurement: 7.032967


Crafty v19.19 (1 cpus)

White(1): bench
Running benchmark. . .
......
Total nodes: 96761642
Raw nodes per second: 1560671
Total elapsed time: 62
SMP time-to-ply measurement: 10.322581

regards
Andy



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