logo       

Re: Alignment issue on ARM: msg#00119

Subject: Re: Alignment issue on ARM
Yes, I've seen this before but it's not exactly what I wanted.

I'm not sure I've well understood what I read on other pages/manual. What I've understood is :

When reading a 32 bit word from memory, it has to be 4 bytes aligned, else it will trigger an alignment trap ( that will fix the incorrect access but with a huge performance loss ).
But when reading 16 bits or 8 bits ? Also need to be aligned ?


Ralph Siemsen wrote:

On Wed, Dec 31, 2003 at 10:08:53AM +0100, Sylvain Munaut wrote:
I'd like to know what are exactly the alignment issue on ARM.

Please see the "Structure Alignement FAQ":
http://www.netwinder.org/~brianbr/alignment.html

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php



<Prev in Thread] Current Thread [Next in Thread>