This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Optimizations done by -fprofile-use
- From: naga raj <gnuuser dot raj at gmail dot com>
- To: Asif Musthafa <asifmusthafa at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 19 Jul 2011 14:46:46 +0530
- Subject: Re: Optimizations done by -fprofile-use
- References: <CALiWYtGFixNJLhj=gaJmRXw_qtQMH0xpsYojoPmWMtTzvxgi-Q@mail.gmail.com> <CALiWYtGdejdCAR3XiHSBTXHTfC7-2D-Gtqi3J9isQ+Vu0k+p+A@mail.gmail.com>
On Tue, Jul 19, 2011 at 2:41 PM, Asif Musthafa <asifmusthafa@gmail.com> wrote:
> Hi,
>
> I am using -fprofile-generate -fprofile-use in a sample application. I
> can see that the app is running faster after -fprofile-use. Is there a
> way to see what all optimization are done by this flag in my app.
>
> My intention is to handpick the more generic optimizations from this list.
With -fprofile-use option -fbranch-probabilities, -fvpt,
-funroll-loops, -fpeel-loops, -ftracer options are enabled:
Check the below link for more information
http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
-Nagaraju