On 03 Apr 2010, at 14:09, Micha Nelissen wrote:

> Do C memory managers guarantee any alignment anyway? Not for SSE (16 bytes) 
> I'm sure, but 8 bytes I don't know.

From Linux' malloc man page:

For calloc() and malloc(), the value returned is a pointer to the allo-
cated memory, which is suitably aligned for any kind of variable, or
NULL if the request fails.

Mac OS X:

The allocated memory is aligned such that it can be
used for any data type, including AltiVec- and SSE-related types.


Jonas_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to