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] Profile feedback: Use Minimum Cost Flow algorithm to smooth inconsistent edge counts


Hi,

It breaks bootstrap on Linux/x86-64:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37153


H.J.
--
On Wed, Aug 13, 2008 at 12:36 PM, Vinodha Ramasamy <vinodha@google.com> wrote:
> Hi Seongbae,
>
>     Here's the patch as requested:
> Added documentation in doc/invoke.texi
> Updated to latest trunk
> ChangeLog not included in patch - inlined below.
>
> ChangeLog entry:
> 2008-08-13 Paul Yuan  <yingbo.com@gmail.com>
>           Vinodha Ramasamy <vinodha@google.com>
>
>        * cgraph.c (cgraph_edge): Handle inconsistent counts when setting
>        count_scale.
>        * value-prof.c (check_counter): Fix the counter if
>        flag_profile_correction is true.
>        (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform,
>        tree_mod_subtract_transform):
>        Follow check_counter parameter change.
>        * common.opt (fprofile-correction): New option.
>        * mcf.c: New file.
>        * profile.c (edge_info, EDGE_INFO): Moved to new file profile.h.
>        (sum_edge_counts, is_edge_inconsistent, correct_negative_edge_counts,
>        is_inconsistent, set_bb_counts, read_profile_edge_counts): New
>        functions.
>        (compute_branch_probabilities): Refactored. Invokes mcf_smooth_cfg if
>        flag_profile_correction is set.
>
> Best,
>   Vinodha
>
>


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