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