From fe1090c16ef13afadd24fa82b511208fae6cd958 Mon Sep 17 00:00:00 2001 From: Rong Xu Date: Tue, 7 Oct 2014 16:26:51 +0000 Subject: [PATCH] Update the ChangeLog for r215962 and r215963. From-SVN: r215976 --- gcc/ChangeLog | 30 ++++++++++++++++++++++++++++++ libgcc/ChangeLog | 15 +++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8a87077adab..804cfb90991 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -18,6 +18,36 @@ * lto-wrapper.c (merge_and_complain): Likewise. (run_gcc): Likewise. +2014-10-06 Rong Xu + + * params.def (PARAM_INDIR_CALL_TOPN_PROFILE): New param. + * tree-profile.c: (params.h): New include. + (init_ic_make_global_vars): Make __gcov_indirect_call_topn_callee + and __gcov_indirect_call_topn_counters for + indirect_call_topn_profile. + (gimple_init_edge_profiler): New decls for + __gcov_indirect_call_topn_profiler. + (gimple_gen_ic_profiler): Generate the correct profiler call. + (gimple_gen_ic_func_profiler): Fix format. + * value-prof.c (params.h): New include. + (dump_histogram_value): Hanlde indirect_call_topn counters. + (stream_in_histogram_value): Ditto. + (gimple_indirect_call_to_profile): Use indirect_call_topn + profile when PARAM_INDIR_CALL_TOPN_PROFILE is set. + (gimple_find_values_to_profile): Hanlde indirect_call_topn + counters. + * value-prof.h (enum hist_type): Histrogram type for + indirect_call_topn counters. + * profile.c (instrument_values): Instrument + indirect_call_topn counters. + +2014-10-06 Rong Xu + + * Makefile.in: Fix dependence. + * gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV): Add + indirect call topn profiler. + * gcov-io.h: Ditto. + 2014-10-06 Eric Botcazou * calls.c (expand_call): Do not use the target as the return slot if diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 7adbc042c26..248c1786ff5 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,18 @@ +2014-10-06 Rong Xu + + * Makefile.in: Ditto. + * libgcov-driver.c (gcov_sort_n_vals): New utility function. + (gcov_sort_icall_topn_counter): Ditto. + (gcov_sort_topn_counter_arrays): Ditto. + (dump_one_gcov): Sort indirect_call topn counters. + * libgcov-merge.c (__gcov_merge_icall_topn): New merge + function. + * libgcov-profiler.c (__gcov_topn_value_profiler_body): New + utility function. + (__gcov_indirect_call_topn_profiler): New profiler function. + * libgcov-util.c (__gcov_icall_topn_counter_op): New. + * libgcov.h: New decls. + 2014-10-04 Trevor Saunders * config.host: Remove support for score-*. -- 2.30.2