This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch for switches and documentation (with sched-prolog discussion)
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: patch for switches and documentation (with sched-prolog discussion)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 12 Jan 2000 19:40:31 -0700
- cc: Geoff Keating <geoffk at cygnus dot com>, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000112183940.D723@cygnus.com>you write:
> On Wed, Jan 12, 2000 at 04:46:49PM -0800, Geoff Keating wrote:
> > The interesting part is that I don't think
> > we can support emitting the prolog as RTL and the epilog as text, or
> > vice-versa.
>
> Why in the world would you want to? If you have the ability
> to emit prologue/epilogue as rtl, do it.
At one time we could do this. In fact the MIPS port did RTL prologues, but
text epilogues for a long time until we fixed the epilogue code.
But yes, in general I don't think it's worth the effort to keep any of the
text variants around once we've got the ability to do RTL.
jeff