Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: crafty ppc64

Author: Frank E. Oldham

Date: 17:58:25 09/01/04

Go up one level in this thread


On September 01, 2004 at 20:26:59, Andreas Guettinger wrote:

>On September 01, 2004 at 15:47:28, Frank E. Oldham wrote:
>
>>On September 01, 2004 at 10:47:56, Andreas Guettinger wrote:
>>
>>>I see the ppc 64bit optimizations to crafty19.15 didn't make it to crafty19.16.
>>>I hope I don't have to write them again to the 19.16 files? :(
>>>
>>>regards
>>>Andy
>>
>>Hi Andy,
>>I've rewritten them (plus a couple of other minor ones) if you need them.
>>Frank
>
>Thanks, but I've mailed them just now.
>
>regards
>Andy

Hi Andy,
some changes you might not have:

=====================================================
in data.c -- "&& !defined(INLINE_PPC)" should be added, as follows:

# if (!defined(_M_AMD64) && !defined(INLINE_ASM) && !defined(INLINE_PPC)) ||
defined(VC_INLINE_ASM)
unsigned char first_one[65536];
unsigned char last_one[65536];
# endif

in init.c --  "&& !defined(INLINE_PPC)" should be added, as follows:

#if !defined(CRAY1) && !defined(_M_AMD64) && !defined(INLINE_ASM) &&
!defined(INLINE_PPC)

in the Makefile -- adding  -mdynamic-no-pic as an option does improve bench
score slightly
=====================================================

the NOEGTB flag that Bob has implemented works well for executable filesize :-)
crafty-G5smp              is 2098692 bytes
crafty-G5smp-noegtb is  884360 bytes

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.