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: [PATCH, V3, #7 of 10], Implement PCREL_OPT relocation optimization


On Wed, Sep 04, 2019 at 01:26:27PM -0400, Michael Meissner wrote:

[snip]

> So to keep other passes from 'improving' things, I opted to do the pass as the
> last pass before final.

If the problem is that you do not properly analyse dependencies between
insns, well, fix that?

If this really needs to be done after everything else GCC does, that is
problematic.  What when you have two or more passes with that property?

If this really needs to be done after everything else GCC does, does it
belong in the compiler at all?  Should the assembler do it instead, or
the linker?


Segher


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