This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR middle-end/60281
- From: Jakub Jelinek <jakub at redhat dot com>
- To: lin zuojian <manjian2006 at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Feb 2014 10:33:51 +0100
- Subject: Re: [PATCH] PR middle-end/60281
- Authentication-results: sourceware.org; auth=none
- References: <5305BA80 dot 5080306 at gmail dot com> <20140220085049 dot GD22862 at tucnak dot redhat dot com> <5305C740 dot 6000105 at gmail dot com> <20140220092112 dot GF22862 at tucnak dot redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Feb 20, 2014 at 10:21:12AM +0100, Jakub Jelinek wrote:
> > > Or, if ARM supports unaligned loads/stores using special instructions,
> > > perhaps you should also benchmark the alternative of not realigning, but
> > > instead making sure those unaligned instructions are used for the shadow
> > > memory loads/stores in the asan prologue/epilogue.
Also note that apparently ARM does have unaligned_storesi pattern,
just doesn't provide movmisalignsi expander so that it could be (easily) used from
the middle-end. So you should certainly also try it that way and test.
Jakub