This is the mail archive of the gcc-patches@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: [PATCH] Value profile based optimizations, part 1


I think we can go without renaming the existing options.
At the moment we have -fprofile-arcs, we can add -fprofile-values
and -fprofile-gen (or -fprofile-generate as in GCC we usually don't do
shortcuts) to enable them both.
-fbranch-probabilities is somewhat missnamed, as it now does both branch
probabilities and profile based optimizations, but we can probably keep
it that way and add -fprofile-use that will imply it as well as other
profile based optimizations we are going to invent in the future.
That will make -fbranch-probabilities uninteresting to the majority of
users.

My two cents:


-fprofile-arcs (same as existing)
-fprofile-values (Zdenek's new patch)
-fprofile (Do both as well as any future profile generator)

-fbranch-probabilities (Deprecate)

and specs replace that with the new option:

-fuse-profile

Kelley Cook




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