Paul Pluzhnikov wrote:
> Alan Woodland <[EMAIL PROTECTED]> writes:
>>b) How to work around it? Is it even possible to get an array of __m128s
>>aligned correctly?
> 
> Use memalign() or posix_memalign().
Thanks again, the following appears to do the trick:

__m128 *c;

posix_memalign(reinterpret_cast<void**>(&c), __alignof__(__m128),
sizeof(__m128)*10);

Thanks,
Alan
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to