This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64] Cortex-A57 Choose some new branch costs.
- From: Richard Earnshaw <Richard dot Earnshaw at foss dot arm dot com>
- To: James Greenhalgh <james dot greenhalgh at arm dot com>, gcc-patches at gcc dot gnu dot org
- Cc: marcus dot shawcroft at arm dot com, richard dot earnshaw at arm dot com
- Date: Mon, 16 Nov 2015 10:20:00 +0000
- Subject: Re: [AArch64] Cortex-A57 Choose some new branch costs.
- Authentication-results: sourceware.org; auth=none
- References: <1447409605-35653-1-git-send-email-james dot greenhalgh at arm dot com>
On 13/11/15 10:13, James Greenhalgh wrote:
>
> Hi,
>
> With all the work that has recently gone in to ifcvt, I thought I'd revisit
> the branch cost settings for Cortex-A57. After a run of experiments [1],
> I found {1, 3} to be the sweet spot, giving a small set of performance
> improvements across some popular benchmarks.
>
> I'd therefore like to propose changing the branch cost to those numbers.
>
> Patch bootstrapped tuning for Cortex-A57 with no issues. I'll revisit
> the same for Cortex-A53.
>
> OK?
>
> Thanks,
> James
>
> [1]: {2, 2}, {2, 3}, {2, 4},
> {1, 2}, {1, 3}, {1, 4},
> {3, 3}, {3, 4},
> {4, 4}, {4, 5},
> {5, 5}, {5, 6}
>
> ---
> 2015-11-12 James Greenhalgh <james.greenhalgh@arm.com>
>
> * config/aarch64/aarch64.c (cortexa57_branch_costs): New.
> (cortexa57_tunings): Use it.
>
OK.
R.