This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GOOGLE] Report the difference between profiled and guessed or annotated branch probabilities.
- From: Andi Kleen <andi at firstfloor dot org>
- To: Yi Yang <ahyangyi at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Dehao Chen <dehao at google dot com>
- Date: Fri, 27 Jun 2014 12:18:56 -0700
- Subject: Re: [GOOGLE] Report the difference between profiled and guessed or annotated branch probabilities.
- Authentication-results: sourceware.org; auth=none
- References: <CADvRsebhLsjHkfWN58tdDU7CmgjDJZ9SDNXFwpq5JWEQLKpECA at mail dot gmail dot com>
Yi Yang <ahyangyi@google.com> writes:
> Hi,
>
> This patch adds an option. When the option is enabled, GCC will add a
> record about it in an elf section called
> ".gnu.switches.text.branch.annotation" for every branch.
This would be nice to have even in mainline for the normal profiling.
-Andi
--
ak@linux.intel.com -- Speaking for myself only