public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bill Schmidt <wschmidt@linux.vnet.ibm.com>
To: Kyrill Tkachov <kyrylo.tkachov@foss.arm.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
	Richard Biener <rguenther@suse.de>
Subject: Re: [PATCH][v4] GIMPLE store merging pass
Date: Wed, 28 Sep 2016 16:07:00 -0000	[thread overview]
Message-ID: <0BED6BB0-4196-4086-919E-EEDDA5923FFF@linux.vnet.ibm.com> (raw)
In-Reply-To: <57EBE7A6.3040103@foss.arm.com>

On Sep 28, 2016, at 10:54 AM, Kyrill Tkachov <kyrylo.tkachov@foss.arm.com> wrote:
> 
> Hi all,
> 
> This is v4 of the pass. It addresses feedback by Bernhard, including typo fixes and
> skipping of debug statements.
> Also, I've extended it to handle the case from PR 23684 and included that testcase
> in the patch.  Merging now triggers more often.
> I've also added purging of dead EH edges that was missing from the previous versions.
> 
> Bootstrapped and tested on aarch64-none-linux-gnu, x86_64-unknown-linux-gnu, arm-none-linux-gnueabihf.
> Also tested on aarch64 big-endian.
> 
> I saw no regressions on my x86_64 machine on SPEC2006. I think the changes in individual benchmarks were
> in the noise though I think the x86_64 expanders could be improved to split expensive movabsq instructions
> into two movl ones (I think).
> 
> Bill, could you or someone else with access to Power benchmarking try this patch out on some benchmarks
> that you usually use? The new pass in this patch is on by default and can be turned off by -fno-store-merging
> if needed.  Jakub indicated that his last attempt at this work caused regressions on powerpc so I'd like to
> see if this patch is okay in that regard.

Hi Kyrill, 

Thanks for the heads-up!  I will have someone on my team look at this as soon as possible.

Much obliged,

Bill

> 
> Thanks,
> Kyrill
> 
> 2016-09-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
> 
>    PR middle-end/22141
>    * Makefile.in (OBJS): Add gimple-ssa-store-merging.o.
>    * common.opt (fstore-merging): New Optimization option.
>    * opts.c (default_options_table): Add entry for
>    OPT_ftree_store_merging.
>    * params.def (PARAM_STORE_MERGING_ALLOW_UNALIGNED): Define.
>    * passes.def: Insert pass_tree_store_merging.
>    * tree-pass.h (make_pass_store_merging): Declare extern
>    prototype.
>    * gimple-ssa-store-merging.c: New file.
>    * doc/invoke.texi (Optimization Options): Document
>    -fstore-merging.
> 
> 2016-09-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>            Jakub Jelinek  <jakub@redhat.com>
>            Andrew Pinski  <pinskia@gmail.com>
> 
>    PR middle-end/22141
>    PR rtl-optimization/23684
>    * gcc.c-torture/execute/pr22141-1.c: New test.
>    * gcc.c-torture/execute/pr22141-2.c: Likewise.
>    * gcc.target/aarch64/ldp_stp_1.c: Adjust for -fstore-merging.
>    * gcc.target/aarch64/ldp_stp_4.c: Likewise.
>    * gcc.dg/store_merging_1.c: New test.
>    * gcc.dg/store_merging_2.c: Likewise.
>    * gcc.dg/store_merging_3.c: Likewise.
>    * gcc.dg/store_merging_4.c: Likewise.
>    * gcc.dg/store_merging_5.c: Likewise.
>    * gcc.dg/store_merging_6.c: Likewise.
>    * gcc.dg/store_merging_7.c: Likewise.
>    * gcc.target/i386/pr22141.c: Likewise.
>    * gcc.target/i386/pr34012.c: Add -fno-store-merging to dg-options.
> <store-merging.patch>

  reply	other threads:[~2016-09-28 16:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-28 16:00 Kyrill Tkachov
2016-09-28 16:07 ` Bill Schmidt [this message]
2016-09-28 16:09   ` Kyrill Tkachov
2016-09-29 16:01   ` Pat Haugen
2016-09-29 16:10     ` Kyrill Tkachov
2016-09-28 17:32 ` Pat Haugen
2016-09-29  8:02   ` Richard Biener
2016-09-29  8:24     ` Kyrill Tkachov
2016-09-29 10:54 ` Richard Biener
2016-09-29 15:37   ` Kyrill Tkachov
2016-09-30  7:09     ` Richard Biener
2016-09-30 15:25   ` Kyrill Tkachov
2016-09-30 15:34     ` Kyrill Tkachov
2016-09-30 17:02       ` Richard Biener
2016-09-30 16:58   ` Kyrill Tkachov
2016-10-04  8:18     ` Richard Biener
2016-10-03 13:02   ` Kyrill Tkachov
2016-10-03 16:43     ` Richard Biener

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=0BED6BB0-4196-4086-919E-EEDDA5923FFF@linux.vnet.ibm.com \
    --to=wschmidt@linux.vnet.ibm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=kyrylo.tkachov@foss.arm.com \
    --cc=rguenther@suse.de \
    /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).