[PATCH] PPC32 Linuxthreads Chance MALLOC_ALIGNMENT for VMX

Segher Boessenkool segher@kernel.crashing.org
Fri Mar 12 08:26:00 GMT 2004


> Yes.  malloc memory needs only be aligned for the standard types.
>
> If you need higher alignment use posix_memalign.

Or vec_malloc().  That's what it's there for...  Oooh wait, it's
not there.  Time to add it...  To <altivec.h>, probably as a macro
for posix_memalign().


Segher



More information about the Libc-alpha mailing list