Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Please differentiate !

Author: Robert Hyatt

Date: 08:48:16 08/23/04

Go up one level in this thread


On August 23, 2004 at 11:28:52, Uri Blass wrote:

>On August 23, 2004 at 11:14:13, Lance Perkins wrote:
>
>>You don't need to disassemble the Crafty code. You already have the source code
>>in C.
>>
>>You only need to disassemble the ElChinito exe file. Paul has posted that for us
>>too.
>>
>>All that's left is to compare the two. Look at the Crafty C code and determine
>>if that will get translated to the assemlby file from ElChinito.
>>
>>Read Bob's post, where he himself has agreed that the analysis is correct.
>>
>>I have done compiler backends before, so looking at this kind of stuff is easy
>>for me. And yup, Bob and Paul are correct.
>
>I believe you but the main problems for me to be convinced not by trusting other
>people is that I do not know how to disassemble the Elchinito exe file
>to get the assembler code and that I never learned assembler so I cannot say if
>some assembler code is equivalent to C code of Crafty.
>
>Uri

An easy solution is to take the asm from el chinito, and then take a C file from
Crafty and compile/compare.  That way if the two files are identical, you know
there is a problem.  You might have to twiddle with optimization flags to get
identical matches, or you can look for that silly 99999 constant which is a red
flag as it represents an impossible-to-be-true test condition in current crafty
source...




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.