[Bug middle-end/23197] Improve documentation on -fprofile-generate, -fprofile-use
pinskia at physics dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Tue Aug 2 14:33:00 GMT 2005
------- Additional Comments From pinskia at physics dot uc dot edu 2005-08-02 14:32 -------
Subject: Re: Improve documentation on -fprofile-generate, -fprofile-use
On Aug 2, 2005, at 10:25 AM, anton at samba dot org wrote:
>
> ------- Additional Comments From anton at samba dot org 2005-08-02
> 14:25 -------
> Created an attachment (id=9411)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9411&action=view)
> --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9411&action=view)
> Update profile option documentation
>
> Document all options that -fprofile-generate/-fprofile-usr select:
>
> -fprofile-generate selects -fspeculative-prefetching
> -fprofile-use selects -fprofile-values and -fspeculative-prefetching
No use/generate does not select -fspeculative-prefetching. The code to
select it was disabled.
> I noticed -fprofile-generate does select -funroll-loops but I dont
> know why it
> does (so didnt document it)
The reason why it turns on -funroll-loops is because unrolling happens
before profiling is done. Though that was only true in 4.0.x.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23197
More information about the Gcc-bugs
mailing list