Patch: [darwin rs6000] Increase stub alignment

Dale Johannesen dalej@apple.com
Tue Aug 3 00:47:00 GMT 2004


On Aug 2, 2004, at 5:20 PM, Mike Stump wrote:

> On Aug 2, 2004, at 5:05 PM, Dale Johannesen wrote:
>> This increases alignment of Darwin's "stub" code (used to call shared 
>> libraries)
>> so it packs into cache lines better.  Bootstrapped and tested.
>
> Looks ok to me...  I'm assuming that this doesn't cause zero holes due 
> to alignment...
> If it did, I'd object, as it will tend to waste cache lines faster, 
> which is worse.

Thanks, too bad you are not a Darwin maintainer...
The linker packs all the stubs of each kind together, so the maximum 
hole
is 28+12=40 bytes per executable.



More information about the Gcc-patches mailing list