Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: assembly--not really that fast

Author: Rafael Andrist

Date: 23:21:18 01/13/02

Go up one level in this thread


On January 13, 2002 at 19:27:19, David Rasmussen wrote:

>On January 13, 2002 at 18:51:02, Ed Schröder wrote:
>
>>On January 13, 2002 at 16:29:21, Tom Kerrigan wrote:
>>
>>>On January 13, 2002 at 07:05:02, Ed Schröder wrote:
>>>
>>>>I have to disagree, I have a MSVC6 version of Rebel and it runs 30% slower than
>>>>the ASM version.
>>>
>>>What do you attribute this difference to? Is it simply not possible to write C
>>>that produces the same assembly as your hand-written code? Or do you take
>>>certain liberties in the C code (perhaps in the same of readability?) that's
>>>slowing things down?
>>>
>>>-Tom
>>
>>Just have a look at the ASM code MSVC6 produces, it often is bad stuff. By
>>re-writing (optimizing) this "bad ASM stuff" I got my +30%.
>>
>>One ambiguous remark, don't believe everthing commercials are telling you :)
>>
>>Ed
>
>Or even worse, gcc. Most people say that their chess program runs 30% faster
>when compiled with gcc. Mine too.
>
>/David

With mine, it's reverse. and others told me the same...

Rafael B. Andrist



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.