Sorry for the copy - replying to the mailing list this time.
Hi,
Yeppp! only requires the data to be naturally aligned (i.e. 4-byte types must be aligned on 4 bytes, 8-byte types must be aligned on 8 bytes, etc). This is a critical requirement for portability: some architectures do not support processing of misaligned data, and therefore such code can't be portable.
If you allocate memory with malloc, new, or alloca, your data is already naturally aligned, and there is nothing to worry about.
Regards,
Marat
--
You received this message because you are subscribed to the Google Groups "yeppp-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yeppp-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.