Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: some questions about computer chess programs

Author: Christophe Theron

Date: 11:57:08 04/06/98

Go up one level in this thread


On April 05, 1998 at 12:58:27, Paul Petersson wrote:

>Have anyone tested Intels C/C++ compiler? I don´t have it myself, but
>based on what I´ve heard from others, it´s the fastest compiler. At
>least for Intel processors.

The Intel compiler is provided with Borland C++ 5.0. That is, BC5
includes 2 compilers: the classical BC compiler, AND the Intel
optimizing compiler.

I compiled Tiger with both. Well... at least I tried.

The Borland compiler was unable to do its job. It CRASHED everytime I
tried to compile a module with a rather long function.

The Intel compiler was able to compile Tiger. But when I ran my program,
it CRASHED. I followed the code with a debugger, and discovered that
there was an error in the inline code produced by the "isdigit"
function. The assembly intruction had an incorrect indirection in it (a
"mov ax,[bx]" instead of a "mov ax,bx") that produced a page fault.

I suppose the problem does not come from the Intel compiler, but comes
from the fact that Borland shipped his product before ever trying to
compile a program with the "isdigit" function. Which is quite
frightening.

From a speed point of view, the Borland compiler was the best. It
crashed in less than 10 seconds. With the Intel compiler, I had to wait
a little bit more (until the EXE file was linked) to get the crash.


    Christophe



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.