This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] Make issue rate part of per-core tuning structs
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Tue, 14 Apr 2015 20:09:46 +0100
- Subject: Re: [PATCH][ARM] Make issue rate part of per-core tuning structs
- Authentication-results: sourceware.org; auth=none
- References: <552BC955 dot 3000501 at arm dot com>
- Reply-to: ramrad01 at arm dot com
On Mon, Apr 13, 2015 at 2:49 PM, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:
> Hi all,
>
> This is an update to
> https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02706.html,
> rebased on top of the new cores that went in since that time.
>
> It's just a refactoring.
>
> Bootstrapped and tested on arm-linux.
>
> Ok for trunk (to commit after GCC 5 release)?
Ok - but hold off till 5.1 is released.
Thanks for the cleanup.
Ramana
>
> Thanks,
> Kyrill
>
> 2015-04-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/arm/arm-protos.h (struct tune_params): Add issue_rate field.
> * config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune,
> arm_strongarm_tune, arm_xscale_tune, arm_9e_tune, arm_v6t2_tune,
> arm_cortex_tune, arm_cortex_a8_tune, arm_cortex_a7_tune,
> arm_cortex_a15_tune, arm_cortex_a53_tune, arm_cortex_a57_tune,
> arm_cortex_a9_tune, arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune,
> arm_fa726te_tune arm_cortex_a5_tune, arm_xgene1_tune):
> Specify issue_rate value.
> (arm_issue_rate): Look up issue rate from tuning structs. Remove
> large switch statement.
> (arm_marvell_pj4_tune): New struct.
> * config/arm/arm-cores.def (marvell-pj4): Use arm_marvell_pj4_tune
> struct.