This is the mail archive of the libc-alpha@sourceware.org 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: PowerPC malloc alignment


On Thu, Nov 01, 2007 at 04:17:45PM -0000, Wolfram Gloger wrote:
> But how did these long double types come about?  Wheren't they
> available in old PowerPC versions (if yes, then the alignment should
> have been 16 from the very start), or only with "-mlong-double-128"?
> 
> IOW, why does this problem suddenly appear?

The introduction of 128-bit long double is a relatively recent ABI
change (within the past two years, and not entirely universal yet).
16-byte vectors are also relatively new, though I suspect people
writing vector code have been trained to use posix_memalign to avoid
trouble.  Before either of those, 64-bit was clearly the right
alignment.

-- 
Daniel Jacobowitz
CodeSourcery


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