This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Optimizations done by -fprofile-use
Hi Nagaraju,
Thank you very much for the reply.
I am not looking for the gcc options getting enabled by the flag. But,
the actual tweaking happened on my app. Something like which all
branches got rearranged etc. Is it possible to get that level of
information?
Thanks,
Asif
On Tue, Jul 19, 2011 at 2:46 PM, naga raj <gnuuser.raj@gmail.com> wrote:
> 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
>