Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C optimization: int vs char

Author: David Blackman

Date: 02:56:20 10/15/01

Go up one level in this thread


> I am predicting double the speed.
>
>Note that I am not talking about the KAP compiler for Linux (but rather) the
>Intel C++ compiler 6.0 for Linux (which is now in beta).

Double would be bloody amazing for chess code. I could understand it some kinds
of floating point on the grounds that:

1. Floating point on the X87 is really ugly
2. Gcc doesn't try very hard
3. If anyone can figure out how to make this mess go fast, it should be Intel.

For the integer stuff, gcc is not great, but it's not all that bad either. It's
mostly about half way between Borland and Microsoft, though occasionally it
manages to beat both. I haven't heard anyone claim the Intel compiler is twice
as good as that. I've spent a fair while staring at inside loops of various
stuff generated by gcc, and in most cases, there is no way anything is going to
go twice as fast on the same chip.

That said, i will probably try to get hold of this if it isn't to huge.



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.