This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Natural alignment for 64-bit Darwin


Stan Shebs writes:
 > The 64-bit Darwin ABI calls for it to do "natural" instead of "power"
 > alignment, which mostly means that structs with pointers get little
 > 4-byte pads scattered about in them now, and is reputed to yield
 > better performance.
 > 
 > This patch makes the change. Tested by bootstrapping on a new-enough
 > Darwin to have natural-aligned libraries, plus testsuite run (with 8
 > fewer failures - weird, but don't look the gift horse, yadda yadda),
 > plus cross-eabi build.

As this changes the ABI, I guess it requires a libffi patch too.

Andrew.


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