This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PowerPC malloc alignment
- From: Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>
- To: drow at false dot org
- Cc: roland at redhat dot com, jakub at redhat dot com, libc-alpha at sourceware dot org, sjmunroe at us dot ibm dot com
- Date: 1 Nov 2007 16:42:02 -0000
- Subject: Re: PowerPC malloc alignment
- References: <20071031205240.GA30110@caradoc.them.org> <20071031212316.GU2896@sunsite.mff.cuni.cz> <20071031213648.769884D04AE@magilla.localdomain> <20071101161745.31969.qmail@md.dent.med.uni-muenchen.de> <20071101162414.GA22752@caradoc.them.org>
Hi,
> The introduction of 128-bit long double is a relatively recent ABI
> change (within the past two years, and not entirely universal yet).
Ok. Changing the ABI should really entail a new libc, or at least
people shouldn't be surprised when they face problems when mixing old
and new binaries.
> 16-byte vectors are also relatively new, though I suspect people
> writing vector code have been trained to use posix_memalign to avoid
> trouble.
Those aren't standard C types, so IMHO using posix_memalign is the way
to go. But long double is different of course.
Regards,
Wolfram.