PowerPC malloc alignment

Daniel Jacobowitz drow@false.org
Thu Nov 1 16:24:00 GMT 2007


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



More information about the Libc-alpha mailing list