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] sched: Do not reorder RTX_FRAME_RELATED_P insns (PR78029)


On 10/26/2016 07:27 PM, Segher Boessenkool wrote:
On Wed, Oct 26, 2016 at 03:13:06PM +0200, Bernd Schmidt wrote:
On 10/26/2016 03:05 PM, Segher Boessenkool wrote:
2) We do not necessarily have all notes yet, if the port lets dwarf2cfi
create notes by itself.  Most (or even all?) ports do.

Hmm. Are you recording the insns in prologue_contains etc.? You could
add dependencies for a prologue insn following an epilogue insn.

I am trying this, but should then every prologue insn following epilogue
depend on all insns in that epilogue?  That goes quadratic, and we can
have at least 30 or so insns in each :-/

The scheduler copes with worse when dealing with things like memory references. But yes, you need lists tracking all epilogue insns.


Bernd


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