Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: GCC 3.1 fastest compiler at K7 !!

Author: Vincent Diepeveen

Date: 05:19:54 05/19/02

Go up one level in this thread


On May 18, 2002 at 23:38:26, Dann Corbit wrote:

>On May 18, 2002 at 18:47:31, Vincent Diepeveen wrote:
>
>>Hello,
>>
>>With pleasure i announce the results of
>>gcc 3.1 versus microsoft visual c++ 6.0
>>sp4 processor pack.
>>
>>Till recently nothing kicked it at the K7, except
>>intel c++ 5.01 (but newer editions of intel were way
>>way slower than msvc).
>>
>>For DIEP gcc 3.1 is about 5% faster than msvc is.
>>
>>Note that msvc 6.0 sp4 + processor pack is about
>>2% faster than any other msvc version is for me
>>(at least what everyone can get somehow in the
>>shop + download). it's 2% faster than msvc 7.0 NET
>>for example or msvc 6.0 sp5 procpack, because
>>it seems the optimizations turned on in the processor
>>pack for msvc 6 sp4 are not working for other service
>>packs.
>>
>>Now a FREE compiler is faster, which is pretty shocking!
>>
>>Time to compiler my GUI for linux!
>
>Have you tried the .NET compiler?
>
>For me, it makes faster binaries than anything else (most of the time).
>
>You need to check all the optimization options, including the whole program
>optimization at the project level.

msvc .NET 7.0 is 2% slower than msvc 6.0 sp4 procpack for me, where
i compared gcc with above, so in total 7% slower than gcc 3.1

Apart from that .net has many bugs, causing default DIEP not being able
to get compiled. I have some floating point in my interface of engine
there which it can't handle and where it messes up.

In a calculation about time left where function has int return:

float a,b,c;
  return((int)a + (int)(b*c));

This generates illegal code in .NET

there are more things it's doing wrong, which i didn't try to figure
out, just too many bugs.

After i worked around some major things it was 2% slower than msvc 4.0 sp4
+ processor pack, which is exactly the difference of the processor pack.

Best regards,
Vincent



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.