Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: crafty and cygnus Code Fusion

Author: Hristo

Date: 14:39:11 10/23/99

Go up one level in this thread


On October 23, 1999 at 17:07:15, Michel Langeveld wrote:

>On October 23, 1999 at 16:42:52, Hristo wrote:
>
>>On October 23, 1999 at 14:37:55, Robert Hyatt wrote:
>>
>>>On October 23, 1999 at 13:03:17, Hristo wrote:
>>>
>>>>I'm having trouble compiling crafty (16.10) with the cygnus proGnu compiler.
>>>>Has anyone done it?
>>>>I want to make sure that crafty works with KBoard chess interface.
>>>>FYI the Cygnus compiler produces mush better code than the normal gnu
>>>>compiler (egcs 2.91.66) %20-%30 faster,
>>>>and the code is at least as fast as MSVC 6.0.
>>>>
>>>>hristo
>>>
>>>
>>>I don't want to argue, but if that is true, it would be great news, as
>>>MSVC has _always_ been faster than any other compiler (the code it
>>>produces) I have ever tried... I am using gcc 2.95 which is the best
>>>gcc I have ever seen, and it is _still_ well behind msvc 6.
>>
>>No argument needed! :)
>>I have most of the compilers right here.
>>The code generated by MSVC 6.0 is definetly not faster than the one
>>generated by CodeFusion. However, CodeFusion is not free, it cost me $250.
>>So I'm willing to go through the trouble of compiling crafty with
>>CodeFusion to see if things get better :).
>>Unfortunately I'm having trouble! :(
>>After changing the crafty makefile to use the cugnus compiler I get
>>a bunch of warnings. Mostly looking something like this:
>>Warning: using "AX" instead of "EAX" due to "w" suffix.
>>Warning: using "CX" instead of "ECX" due to "w" suffix.
>>...
>>
>>perhaps the assembler being used is not the correct one?!
>>
>>hristo
>
>AX = 16 bit register var
>EAX = 32 bit register var
>
>and instructing like
>
>MOV AX, word ptr [ES:DS]
>
>will fill 16-bit register AX with the contents of the 16-bit memory location
>ES:DS. Before checking the code I thought there was somewhere something like:
>
>MOV EAX, word ptr [ES:DS] or
>MOV EX, double word ptr [ES:DS]
>
>But after checking the code I can't find none if this. Can you be more specific
>and tell the line number of which the compiler warns...

neither can I :((
For instance hash.c line 51, 64, 166, 179, 412, 447, 466, 481, 505, 521
all produce the above mentioned warning.

hristo

>
>Kind regards,
>
>Michel Langeveld



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.