POV-Ray : Newsgroups : povray.unix : Compile for given CPU : Re: Compile for given CPU Server Time
3 Jul 2024 04:53:07 EDT (-0400)
  Re: Compile for given CPU  
From: Christoph Hormann
Date: 15 Jun 2004 15:35:02
Message: <canj0j$fua$1@chho.imagico.de>
Nicolas Calimet wrote:
>>>maybe more.
> 
> 
>         I was told recently that using profiling-guided optimization could
> also somewhat increase performance on Athlon's.  To do so, you have to
> compile an intermediate binary using "-fprofile-arcs", then run a
> (representative) set of povray scenes, and recompile again this time
> with "-fbranch-probabilities" instead of the option above.
>         Personnaly I had some oddities doing so with gcc-3.4.0 on the
> current POV-Ray 3.6 sources, and the speedup was also negligible.

With gcc 3.4.0 you can use profiling based optimizations with 
-fprofile-generate and -fprofile-use.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.