Computer Chess Club Archives


Search

Terms

Messages

Subject: Intel C++ 7.0 compiler questions...

Author: Joel

Date: 05:42:23 12/22/02


Hey all,

Was reading some of the previous threads where the general consensus seemed to
be that the Intel C++ 7.0 compiler did a much better job at optimising than the
VC 6.0 Sp4 compiler did.

My compiler knowledge is very limited - I have written a C compiler before (uni
assignment), but optimisation wasn't an issue. I have no real idea how an
optimising compiler goes about it's work.

For the record I have an Athlon XP 2100+, and my engine is bitboard based.

Having said that, I installed the Intel compiler, and tried compiling my latest
version of Bodo, and then ran my dodgy little speed benchmark on it. It was
actually slower than the VC 6.0 compiler, though I have reason to suspect my
incompetence is the issue, largely due to statements like:

"Did you use the intel C++ 7.0? Of course not.  Did you do the profile-feedback
optimizations?  Probably not."

What I am asking is how do I do this profile-feedback optimisations, and or any
other optimisations which you guys do?

What would be particularly helpful is other people could give me the compiler
command line parameters they use to generate fast code.

I really need to buy a book on optimising compilers so I understand what the
hell is happening here. :|

Any help greatly appreciated,

Joel Veness



This page took 0.01 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.