public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Wilco Dijkstra" <wdijkstr@arm.com>
To: <gcc-patches@gcc.gnu.org>
Subject: RE: [PATCH][AArch64] Fix Cortex-A53 shift costs
Date: Mon, 27 Apr 2015 14:05:00 -0000	[thread overview]
Message-ID: <000601d080f3$27168560$75439020$@com> (raw)
In-Reply-To: 

ping

> -----Original Message-----
> From: Wilco Dijkstra [mailto:wdijkstr@arm.com]
> Sent: 05 March 2015 14:49
> To: gcc-patches@gcc.gnu.org
> Subject: [PATCH][AArch64] Fix Cortex-A53 shift costs
> 
> This patch fixes the shift costs for Cortex-A53 so they are more accurate - immediate shifts
> use SBFM/UBFM which takes 2 cycles, register controlled shifts take 1 cycle. Bootstrap and
> regression OK.
> 
> ChangeLog:
> 2015-03-05  Wilco Dijkstra  <wdijkstr@arm.com>
> 
> 	* gcc/config/arm/aarch-cost-tables.h (cortexa53_extra_costs):
> 	Make Cortex-A53 shift costs more accurate.
> 
> ---
>  gcc/config/arm/aarch-cost-tables.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/gcc/config/arm/aarch-cost-tables.h b/gcc/config/arm/aarch-cost-tables.h
> index 05e96a9..6bb8ede 100644
> --- a/gcc/config/arm/aarch-cost-tables.h
> +++ b/gcc/config/arm/aarch-cost-tables.h
> @@ -130,12 +130,12 @@ const struct cpu_cost_table cortexa53_extra_costs =
>      0,			/* arith.  */
>      0,			/* logical.  */
>      COSTS_N_INSNS (1),	/* shift.  */
> -    COSTS_N_INSNS (2),	/* shift_reg.  */
> +    0,			/* shift_reg.  */
>      COSTS_N_INSNS (1),	/* arith_shift.  */
> -    COSTS_N_INSNS (2),	/* arith_shift_reg.  */
> +    COSTS_N_INSNS (1),	/* arith_shift_reg.  */
>      COSTS_N_INSNS (1),	/* log_shift.  */
> -    COSTS_N_INSNS (2),	/* log_shift_reg.  */
> -    0,			/* extend.  */
> +    COSTS_N_INSNS (1),	/* log_shift_reg.  */
> +    COSTS_N_INSNS (1),	/* extend.  */
>      COSTS_N_INSNS (1),	/* extend_arith.  */
>      COSTS_N_INSNS (1),	/* bfi.  */
>      COSTS_N_INSNS (1),	/* bfx.  */
> --
> 1.9.1


             reply	other threads:[~2015-04-27 14:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 14:05 Wilco Dijkstra [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-03-05 14:49 Wilco Dijkstra
     [not found] ` <CAFqB+Pzsi73v5nVJgwuTFwp4rKGw0=Vj7YDW34KeV-G3V8ayOQ@mail.gmail.com>
2015-05-01 13:07   ` Wilco Dijkstra
2015-05-01 13:09     ` Kyrill Tkachov

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='000601d080f3$27168560$75439020$@com' \
    --to=wdijkstr@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    /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).