Eike Lange wrote:
On Wed, May 28, 2003 at 08:39:55PM +0400, Ingvar Marny wrote:
On what boundary will be aligned Integer, Boolean, Longint, Word, etc.
Well, GPC is based on GCC and GCC cares about the alignment, AFAIK. If so, gcc/varasm.c could be the right place to look into. But I'm not sure.
It will also vary with the platform. In general I would expect that allowing for 8 byte alignment (when the C bytesize is 8 bits) would function. Just because something is byte addressable does not mean that a byte address is most suitable. Such addressing may require a wider load, a shift, and a mask. Writing is more complex. Things get especially bad if an entity spreads over more than one external memory access.