Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Microsoft Visual C slower than Gnu C ?

Author: Robert Hyatt

Date: 07:42:28 02/28/98

Go up one level in this thread


On February 28, 1998 at 09:42:40, Christophe Theron wrote:

>On February 28, 1998 at 00:04:33, Robert Hyatt wrote:
>
>>On February 28, 1998 at 00:01:06, Christophe Theron wrote:
>>
>>>I worked hard to port Tiger from Gnu C (free compiler) to Microsoft
>>>Visual C++ 4.0.
>>>
>>>Well... What I get is a 10% SLOWDOWN!!! All speed optimizations turned
>>>ON. And the fastest code is achieved when I select 486 instead of
>>>Pentium!
>>>
>>>Several possible explanations:
>>>1) I should upgrade to a better version of MSVC...
>>
>>absolutely.  Get MSVC version 5.0.  The code optimizer is far better
>>and knows about the pentium architecture.  4.0 does not so far as I
>>know.
>>
>>>2) I am calling a fonction that is very time consuming under MSVC, and
>>>is cheap under GnuC...
>>
>>doubtful.  msvc 5 makes crafty about 10% faster than even the best
>>pentium
>>compiler group version of gcc.  and that is without using the assembly
>>code
>>we use with gcc...
>
>OK. I'll buy the latest MSVC.
>
>Maybe I should also try to download the latest GCC version. I have heard
>that it has been improved for Pentium code generation "recently". I'm
>using the June 97 version.
>
>Thanks Bob!
>
>
>    Christophe


I don't know what has happened in the DJGPP world, but at www.goof.com
the pentium compiler group has done some good stuff for linux and others
using gcc...



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.