[PATCH] New fdo summary-based icache sensitive unrolling (issue6351086)

Teresa Johnson tejohnson@google.com
Fri Jul 27 14:47:00 GMT 2012


On Fri, Jul 27, 2012 at 12:31 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> On Fri, Jul 27, 2012 at 6:47 AM, Teresa Johnson <tejohnson@google.com> wrote:
>>         * gcc/gcov-io.h (GCOV_TAG_SUMMARY_LENGTH): Update for new summary info.
>>         (struct gcov_ctr_summary): Add new summary info: num_hot_counters and
>>         hot_cutoff_value.
>
> You should also update the description for the data file at the head
> of gcov-io.h:
>
>    The data file contains the following records.
>         data: {unit summary:object summary:program* function-data*}*
>         unit: header int32:checksum
>         function-data:  announce_function present counts
>         announce_function: header int32:ident
>                 int32:lineno_checksum int32:cfg_checksum
>         present: header int32:present
>         counts: header int64:count*
>         summary: int32:checksum {count-summary}GCOV_COUNTERS_SUMMABLE
>         count-summary:  int32:num int32:runs int64:sum
>                         int64:max int64:sum_max
>
> You've added two fields in count-summary IIUC.

Thanks, I will update this in my next version of the patch.

Teresa

>
> Ciao!
> Steven



-- 
Teresa Johnson | Software Engineer | tejohnson@google.com | 408-460-2413



More information about the Gcc-patches mailing list