Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty bench and Corbit version, because ...

Author: Chuck

Date: 15:43:39 06/28/99

Go up one level in this thread


[snip]

>>>I think for Pentium optimation is this a good result for AMD.
>>>
>>>Thanks Bob for Crafty another and thanks Dann.
>>>
>>>Dann, you must Crafty optimize for AMD K6-3 not for Pentium :-))
>>
>>Let me toss my two cents worth in here...
>>
>>The Microsoft C compilers only optimize with Intel chips as targets
>>and then only in a general way.  The only way I know of to optimize
>>for AMD chips is hand-crafted assembler.  Any other opinions welcome.
>>
>>Larry
>>
>>>
>>>Kind regards
>>>Frank


This is correct. Maybe a later version of some C compiler will have specific
optimizations for AMD (because it sells so much) but not yet. However, I believe
the standard Pentium optimizations should be beneficial to the AMD CPU's as
well. I expect most standard Chess instructions, such as AND's, OR's, and MOVe's
probably get executed in 1 instruction. At least, as a programmer, that's your
goal. However, I don't have charts to verify this for AMD chips. The only other
CPU-specific optimizations you might make that I can think of right off would be
to try to get certain code & data retained in a register or in cache. 'Course,
your registers are very limited.

Anybody have any other ideas for CPU optimization?

Chuck



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.