Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1962)

Issue 6282045: [google] New fdo summary-based icache sensitive unrolling

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by tejohnson
Modified:
9 years, 8 months ago
Reviewers:
davidxl, hubicka
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/google/main/
Visibility:
Public.

Patch Set 1 #

Total comments: 17

Patch Set 2 : [google/main] New fdo summary-based icache sensitive unrolling #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -155 lines) Patch
M gcc/common.opt View 1 3 chunks +8 lines, -8 lines 0 comments Download
M gcc/coverage.c View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gcc/doc/invoke.texi View 1 7 chunks +27 lines, -23 lines 0 comments Download
M gcc/gcov-dump.c View 1 1 chunk +4 lines, -2 lines 0 comments Download
M gcc/gcov-io.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M gcc/gcov-io.c View 1 2 chunks +2 lines, -0 lines 0 comments Download
M gcc/loop-unroll.c View 1 10 chunks +114 lines, -63 lines 0 comments Download
M gcc/params.def View 1 1 chunk +13 lines, -11 lines 0 comments Download
M gcc/tree-optimize.c View 1 3 chunks +0 lines, -46 lines 0 comments Download
M libgcc/libgcov.c View 1 3 chunks +118 lines, -1 line 1 comment Download

Messages

Total messages: 12
tejohnson
This patch adds new program summary information to the gcov profile files that indicate how ...
11 years, 11 months ago (2012-06-03 06:30:02 UTC) #1
davidxl
http://codereview.appspot.com/6282045/diff/1/gcc/gcov-io.h File gcc/gcov-io.h (right): http://codereview.appspot.com/6282045/diff/1/gcc/gcov-io.h#newcode544 gcc/gcov-io.h:544: gcov_unsigned_t sum_cutoff_percent;/* sum_all cutoff percentage computed Is there a ...
11 years, 11 months ago (2012-06-05 18:46:50 UTC) #2
tejohnson
On Tue, Jun 5, 2012 at 11:46 AM, <davidxl@google.com> wrote: > > http://codereview.appspot.com/6282045/diff/1/gcc/gcov-io.h > File ...
11 years, 11 months ago (2012-06-06 21:02:17 UTC) #3
davidxl
The patch looks like 4_7 based which can be different from 4_6 based one. Do ...
11 years, 11 months ago (2012-06-06 21:48:23 UTC) #4
davidxl
On Wed, Jun 6, 2012 at 2:02 PM, Teresa Johnson <tejohnson@google.com> wrote: > On Tue, ...
11 years, 11 months ago (2012-06-06 22:09:29 UTC) #5
hubicka_ucw.cz
> The patch looks like 4_7 based which can be different from 4_6 based > ...
11 years, 11 months ago (2012-06-06 22:12:42 UTC) #6
davidxl
On Wed, Jun 6, 2012 at 2:02 PM, Teresa Johnson <tejohnson@google.com> wrote: > On Tue, ...
11 years, 11 months ago (2012-06-06 22:25:34 UTC) #7
tejohnson
On Wed, Jun 6, 2012 at 3:12 PM, Jan Hubicka <hubicka@ucw.cz> wrote: >> The patch ...
11 years, 11 months ago (2012-06-07 00:06:43 UTC) #8
tejohnson
On Wed, Jun 6, 2012 at 3:09 PM, Xinliang David Li <davidxl@google.com> wrote: > On ...
11 years, 11 months ago (2012-06-07 01:26:43 UTC) #9
tejohnson
Updated patch based on feedback. Original description: This patch adds new program summary information to ...
11 years, 11 months ago (2012-06-07 06:40:27 UTC) #10
davidxl
other than the update issue, good for google branch. David http://codereview.appspot.com/6282045/diff/4003/libgcc/libgcov.c File libgcc/libgcov.c (right): http://codereview.appspot.com/6282045/diff/4003/libgcc/libgcov.c#newcode1127 ...
11 years, 11 months ago (2012-06-07 07:05:19 UTC) #11
tejohnson
11 years, 11 months ago (2012-06-07 15:37:08 UTC) #12
On Thu, Jun 7, 2012 at 12:05 AM,  <davidxl@google.com> wrote:
> other than the update issue, good for google branch.
>
> David
>
>
> http://codereview.appspot.com/6282045/diff/4003/libgcc/libgcov.c
> File libgcc/libgcov.c (right):
>
> http://codereview.appspot.com/6282045/diff/4003/libgcc/libgcov.c#newcode1127
> libgcc/libgcov.c:1127: cs_prg->num_hot_counters =
> cs_tprg->num_hot_counters;
> Should the update be outside the if (!cs_prg->runs++)

You are right - with the change I made to take the max it should be
outside the if. Fixed, retested and committed to google/main.

Backport to google 4_7 and 4_6 going in shortly.

Thanks,
Teresa

>
> http://codereview.appspot.com/6282045/



-- 
Teresa Johnson | Software Engineer | tejohnson@google.com | 408-460-2413
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b