https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63304
--- Comment #36 from Evandro <e.menezes at samsung dot com> --- (In reply to Ramana Radhakrishnan from comment #35) > (In reply to Evandro from comment #32) > > Because of side effects of the Haiffa scheduler, the loads now pile up, and > > the ADRPs may affect the load issue rate rather badly if not fused. At leas > > on our processor. > > In straight line code I can imagine this happening - In loopy code I would > have expected the constants to be hoisted - atleast that's what I remember > seeing in my analysis. You have seen -mcprelative-literal-loads haven't you > ? The cases that I have in mind involve SL code in functions which are called form a loop. Since they are external, only LTO would address such cases. And, since we do not control how they are built, we have to handle them as they come. As long as there's an opening to investigate the benefits and drawbacks of reverting to the legacy way considering the function size, I think that it's interesting to find out the results. Thank you.