PATCH: Pad short functions for Atom

H.J. Lu hjl.tools@gmail.com
Wed Sep 15 00:09:00 GMT 2010


On Tue, Sep 14, 2010 at 2:22 PM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Tue, Sep 14, 2010 at 2:20 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> The machine does more than just stall. It replays, which
>> ends up costing more than just "waiting".
>
> I think the biggest question is that people who care about atom will
> they be compiling with -Os (which should disable this optimization by

Not necessarily.

> default)?  If that is true, should we be worrying about this
> optimization in general?
>

One DSO only has one PIC thunk.. I think adding 8bytes
is worth it even for -Os.


-- 
H.J.



More information about the Gcc-patches mailing list