Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Speedups for BitBoard programs on 64-bit machines

Author: Eugene Nalimov

Date: 07:08:41 06/08/02

Go up one level in this thread


Usually "profile-based optimizations" means that *compiler* does such the
optimizations. I.e.

(1) You are building special instrumented version of the program that when run
collects information about where the time in the code spent, as well as other
information compiler compiler can use.

(2) You are running that instrumented program on a set of scenarios you consider
typical for your program.

(3) You are re-compiling (or re-linking, depending on the used compiler) your
program, this time specifying "use profile data from my train run". During that
compilation compiler performs lot of new optimizations that use profile data --
code separation, function layout, basic blocks layout, more aggressive inlining,
loop unrolling, etc.

Shipping Intel C++/Fortran have that feature. Visual C++ can do that for IA-64,
but shipped version for x86 does not include that.

Eugene

On June 08, 2002 at 02:06:15, Uri Blass wrote:

>On June 08, 2002 at 00:30:13, Robert Hyatt wrote:
>
>>On June 06, 2002 at 20:54:41, Vincent Diepeveen wrote:
>>
>>>On June 05, 2002 at 22:01:30, Robert Hyatt wrote:
>>>
>>>PERHAPS IT IS TIME YOU PROFILE CRAFTY AGAIN.
>>
>>So the profile from _last week_ was too old for you?  I haven't changed one
>>line of code since that profile run was done...
>>
>>remember that I am doing profile-based optimizations so I _must_ profile
>>every time I change a line to get the fastest crafty version.
>
>How do you do a profile based optimizations?
>What do you change after changing a line in Crafty?
>
>I never did profile-based optimizations in movei and I have no idea how to do
>it.
>
>I think that it will be productive to see a program before profile-based
>optimization and explanation of the changes that were done after profile-based
>optimization.
>
>It does not have to be a chess program and may be something more simple.
>Is there a place when I can download some simple programs before and after
>profile-based optimizations together with explanation of the exact steps that
>were done in the profile-based optimization?
>
>Uri



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.