This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Disable static branch prediction in absence of real profile data
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Pat Haugen <pthaugen at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 27 Jan 2016 22:44:25 -0500
- Subject: Re: [PATCH, rs6000] Disable static branch prediction in absence of real profile data
- Authentication-results: sourceware.org; auth=none
- References: <56A94E4F dot 6010306 at linux dot vnet dot ibm dot com>
On Wed, Jan 27, 2016 at 6:10 PM, Pat Haugen <pthaugen@linux.vnet.ibm.com> wrote:
> The following patch prevents static prediction if we don't have real profile
> data. Testing on SPEC CPU2006 showed a couple improvements in specint and
> specfp neutral. Bootstrap/regtest on powerpc64 with no new regressions. Ok
> for trunk?
>
> -Pat
>
>
> 2016-01-27 Pat Haugen <pthaugen@us.ibm.com>
>
> * config/rs6000/rs6000.c (output_cbranch): Don't statically predict
> branches if using guessed profile.
Okay.
Thanks, David