From: Greg McGary <greg@mcgary.org>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: "J.T. Conklin" <jtc@redback.com>, gdb@sourceware.cygnus.com
Subject: Re: SKIP_PROLOGUE() and prologue insn scheduling
Date: Wed, 18 Jul 2001 09:31:00 -0000 [thread overview]
Message-ID: <ms8zhm2o93.fsf@mcgary.org> (raw)
In-Reply-To: <20010717163126.A5385@nevyn.them.org>
Daniel Jacobowitz <dmj+@andrew.cmu.edu> writes:
> > The choice is whether SKIP_PROLOGUE() returns:
> > 1) 1st user insn even though more prologue insns remain?
> > 2) 1st user insn after final prologue insn?
> [ ... ]
> IMO, #1 is the way to go. It's regrettable in that a whole lot of
> tests start failing, since we will display arguments wrong. But if the
> prologue is being scheduled, it's possible to schedule part of the
> prologue on the interior of a large if statement (which encompasses the
> rest of the body of the function, say). If we do #2, we may never stop
> in the function at all.
That particular pathology should not occur. First, the RTL for
prologue & epilogue is not generated until the flow2 pass, rather late
in the game, and after such code motion could occur. Second,
SKIP_PROLOGUE() must be written to stop scanning for prologue insns
when it reaches the end of the first basic block, as demarcated by a
jump or branch insn. Therefore, #2 remains a viable option as we
would never place the breakpoint in conditionally-executed code.
Greg
next prev parent reply other threads:[~2001-07-18 9:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-17 15:46 J.T. Conklin
2001-07-17 16:31 ` Daniel Jacobowitz
2001-07-18 9:31 ` Greg McGary [this message]
2001-07-18 14:21 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ms8zhm2o93.fsf@mcgary.org \
--to=greg@mcgary.org \
--cc=dmj+@andrew.cmu.edu \
--cc=gdb@sourceware.cygnus.com \
--cc=jtc@redback.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox