[RS6000] Adjust gcc asm for power10

Segher Boessenkool segher@kernel.crashing.org
Thu Oct 1 00:15:14 GMT 2020


Hi Alan,

On Thu, Oct 01, 2020 at 08:49:44AM +0930, Alan Modra wrote:
> On Wed, Sep 30, 2020 at 05:36:08PM -0500, Segher Boessenkool wrote:
> > On Wed, Sep 30, 2020 at 05:06:57PM +0930, Alan Modra wrote:
> > > Generate assembly that is .localentry 1 with @notoc calls to match.
> > 
> > What is the purpose of this?  Non-obvious patchexs without any
> > explanation like that cost needless extra time to review :-/
> > 
> > "Support __PCREL__ code." suggests that it did not even build before?
> > Or did not work?  Or is this just a perfomance improvement?
> 
> Sorry, I sometimes credit you with super-human powers.  It's a
> performance improvement for libgcc.a.  Calling between functions that
> advertise as using the TOC and those that don't, will require linker
> call stubs.

Thanks for the explanation!


Segher


More information about the Gcc-patches mailing list