No subject


Mon Jun 18 16:48:03 UTC 2012


hardware.  By "simple" I mean word sized i.e. no LDM/STM, no LDRD/STRD.

> > 1) Detect sizeof(int) and declare the arrays as a suitable multiple
> > of that. int _should_ be word sized on most things AFAIK.
> 
> now I'll sound really dense, but isn't 4096 a multiple of sizeof(int)
> on arm?

A char array doesn't have the same alignment constraints as an int.

It's not the size but the type used that matters.


Nicolas


More information about the arm mailing list