[LLVMdev] Unaligned vector memory access for ARM/NEON.

David Peixotto dpeixott at codeaurora.org
Mon Sep 10 09:37:05 PDT 2012

Ok, I'll add an explicit test for endinaness before allowing the unaligned
loads. It's easy to do and makes it very clear it will only work on
little-endian systems.

-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
by The Linux Foundation

> -----Original Message-----
> From: rengolin at gmail.com [mailto:rengolin at gmail.com] On Behalf Of
> Renato Golin
> Sent: Monday, September 10, 2012 12:07 AM
> To: Bob Wilson
> Cc: David Peixotto; Peter Couperus; Jakob Olesen; llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Unaligned vector memory access for ARM/NEON.
> On 10 September 2012 06:44, Bob Wilson <bob.wilson at apple.com> wrote:
> > I don't know if anyone actually uses arm processors in big-endian mode,
> but it shouldn't be too hard to conditionalize it.  If it does turn out to
> difficult for some reason, we should at least have comments to indicate
> where the endian assumptions are being made.
> AFAICR, people used to use big-endian on non-NEON ARM cores in the
> 7TDMI/920 days, and if they still do so, they'll buy those chips.
> IMO, throwing a few comments would be enough for now. It's better to
> assume little enndian now, with a test case, than to assume big-endian is
> possible, without one.
> --
> cheers,
> --renato
> http://systemcall.org/

More information about the llvm-dev mailing list