This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Try to peephole2 QI *4 into SI on i386
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: lin zuojian <manjian2006 at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 4 Mar 2014 08:48:40 +0100
- Subject: Re: [Patch] Try to peephole2 QI *4 into SI on i386
- Authentication-results: sourceware.org; auth=none
- References: <20140303130203 dot GF10357 at ubuntu> <CA+=Sn1=OAdNSaWi78OJZfk+5PdLmMXYjeVCEsWORe_Jq71gOsQ at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Mar 03, 2014 at 07:19:51PM -0800, Andrew Pinski wrote:
> On Mon, Mar 3, 2014 at 5:02 AM, lin zuojian <manjian2006@gmail.com> wrote:
>
> Testcase?
> How about making a generic pass which does this?
>
> See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23684 also. At the
> same time this can be used to do the store pair optimization for
> ARM/AARCH64 too.
Yeah, I'll try to ressurrect my PR22141 patch after 4.9 branches, and would
appreciate if more people would cooperate in finding out the best heuristics
when it should be applied (for -Os it is usually clear, for non-strict align
targets and optimization for speed less so, for strict align targets even
less so).
Jakub