[PATCH, ARM] Misaligned access support for ARM Neon
Julian Brown
julian@codesourcery.com
Fri Jun 4 12:50:00 GMT 2010
On Tue, 18 May 2010 01:31:08 +0100
Julian Brown <julian@codesourcery.com> wrote:
> Hi,
>
> On Mon, 21 Dec 2009 12:20:12 +0000
> Paul Brook <paul@codesourcery.com> wrote:
>
> > On Friday 18 December 2009, Julian Brown wrote:
> > > This is a version of the patch which doesn't attempt to resolve
> > > the discrepancy between vector copies and vectorizing loads/stores
> > > (thus is only intended to work in little-endian mode, leaving
> > > big-endian mode as an open problem). So, vldr/vstr etc. will still
> > > be used for aligned accesses, and any issues with adding semantics
> > > to movmisalign<mode> are sidestepped.
> >
> > I don't think this is correct. The original patch contained two
> > hooks: [snip]
> > - Add movmisalign. Either ignore the fact that packed structures
> > break, or add yet annother hook for "misaligned vectors must be at
> > least {-this-} aligned". This will not work for big-endian vectors,
> > and will go away once we implement array load support.
>
> This is a new version of the patch, which adds movmisalign patterns
> for little-endian NEON, and uses a new (since the last version of the
> patch was posted) target hook (TARGET_SUPPORT_VECTOR_MISALIGNMENT) to
> describe the alignments supported by NEON.
Ping (ARM maintainers)?
Julian
More information about the Gcc-patches
mailing list