public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: James Greenhalgh <james.greenhalgh@arm.com>
To: Luis Machado <luis.machado@linaro.org>
Cc: "pinskia@gmail.com" <pinskia@gmail.com>,
	"gcc-patches@gcc.gnu.org"	<gcc-patches@gcc.gnu.org>, <nd@arm.com>
Subject: Re: [PATCH, AArch64] Adjust tuning parameters for Falkor
Date: Fri, 17 Nov 2017 15:54:00 -0000	[thread overview]
Message-ID: <20171117154812.GA36309@arm.com> (raw)
In-Reply-To: <1510714853-6837-1-git-send-email-luis.machado@linaro.org>

On Wed, Nov 15, 2017 at 03:00:53AM +0000, Luis Machado wrote:
> > I think the best thing is to leave this tuning structure in place and
> > just change default_opt_level   to -1 to disable it at -O3.
> > 
> > Thanks,
> > Andrew
> > 
> 
> Indeed that seems to be more appropriate if re-enabling prefetches in the
> future is a possibility.
> 
> How about the following?

This is OK.

Thanks,
James

> 2017-11-15  Luis Machado  <luis.machado@linaro.org>
> 
> 	gcc/
> 	* config/aarch64/aarch64.c
> 	(qdf24xx_prefetch_tune) <default_opt_level>: Set to -1.
> 	(qdf24xx_tunings) <autoprefetcher_model>: Set to
> 	tune_params::AUTOPREFETCHER_WEAK.
> ---
>  gcc/ChangeLog                | 7 +++++++
>  gcc/config/aarch64/aarch64.c | 4 ++--
>  2 files changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/gcc/ChangeLog b/gcc/ChangeLog
> index b80a421..0e05f9e 100644
> --- a/gcc/ChangeLog
> +++ b/gcc/ChangeLog
> @@ -1,3 +1,10 @@
> +2017-11-15  Luis Machado  <luis.machado@linaro.org>
> +
> +	* config/aarch64/aarch64.c
> +	(qdf24xx_prefetch_tune) <default_opt_level>: Set to -1.
> +	(qdf24xx_tunings) <autoprefetcher_model>: Set to
> +	tune_params::AUTOPREFETCHER_WEAK.
> +
>  2017-11-14  Carl Love  <cel@us.ibm.com>
>  
>  	* config/rs6000/rs6000.c (swap_endian_selector_for_mode): Remove
> diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
> index 0c67e2b..8779cad 100644
> --- a/gcc/config/aarch64/aarch64.c
> +++ b/gcc/config/aarch64/aarch64.c
> @@ -508,7 +508,7 @@ static const cpu_prefetch_tune qdf24xx_prefetch_tune =
>    32,			/* l1_cache_size  */
>    64,			/* l1_cache_line_size  */
>    1024,			/* l2_cache_size  */
> -  3			/* default_opt_level  */
> +  -1			/* default_opt_level  */
>  };
>  
>  static const cpu_prefetch_tune thunderxt88_prefetch_tune =
> @@ -817,7 +817,7 @@ static const struct tune_params qdf24xx_tunings =
>    2,	/* min_div_recip_mul_sf.  */
>    2,	/* min_div_recip_mul_df.  */
>    0,	/* max_case_values.  */
> -  tune_params::AUTOPREFETCHER_STRONG,	/* autoprefetcher_model.  */
> +  tune_params::AUTOPREFETCHER_WEAK,	/* autoprefetcher_model.  */
>    (AARCH64_EXTRA_TUNE_NONE),		/* tune_flags.  */
>    &qdf24xx_prefetch_tune
>  };
> -- 
> 2.7.4
> 

  parent reply	other threads:[~2017-11-17 15:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15  2:11 Luis Machado
2017-11-15  3:15 ` Andrew Pinski
2017-11-15  3:46   ` Luis Machado
2017-11-16 20:13     ` Luis Machado
2017-11-17  9:29     ` Kyrill Tkachov
2017-11-17 15:54       ` Luis Machado
2017-11-17 15:54     ` James Greenhalgh [this message]
2017-11-17 16:08       ` Luis Machado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171117154812.GA36309@arm.com \
    --to=james.greenhalgh@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=luis.machado@linaro.org \
    --cc=nd@arm.com \
    --cc=pinskia@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).