This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC mini-summit - compiling for a particular architecture


On Sun, 2007-04-22 at 15:22 +0200, Jan Hubicka wrote:
> > At work we use -O3 since it gives 5% performance gain against -O2.
> > profile-feedback has many flags and there is no overview of it in the
> > doc IIRC. Who will use it except GCC developpers? Who knows about your
> > advice?
> 
> Well, this is why -fprofile-generate and -fprofile-use was invented.
> Perhaps docs can be improved so people actually discover it.  Do you
> have any suggestions?
> (Perhaps a chapther for FDO or subchapter of gcov docs would do?)

I don't hve approval rights for documentation but I'd say just
create an "Optimization Guide" chapter with a subchapter detailing an
example on how to use feedback based compiling on a simple source
code that gives a nice speedup on a popular architecture.

Then let's hope other will come in with they favourite advice :). 

Laurent



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]