This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PPC32 Linuxthreads Chance MALLOC_ALIGNMENT for VMX


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]