This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] mn10300.md store_movm
- To: DJ Delorie <dj at redhat dot com>
- Subject: Re: [patch] mn10300.md store_movm
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 11 Nov 2000 03:30:43 -0200
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <xnu29fjk3v.fsf@greed.delorie.com>
On Nov 11, 2000, DJ Delorie <dj@redhat.com> wrote:
> * config/mn10300/mn10300.md (store_movm): Note which registers are
> really used.
Since this is only used in the prologue, I'm not sure I understand why
it is needed. Is it to prevent this instruction from being moved
after any other instruction that uses these registers? In this case,
it would probably be reasonable to also note that it modifies sp,
otherwise it might also be moved after the stack adjustment emitted
after it. You might have to turn it into an expand, though, so that
it can compute by how much the stack pointer is adjusted. It would be
nice to make the expand available only after reload_completed, then.
Or maybe you could just mark sp as clobbered.
Of course, none of this is much relevant, since we don't have any
scheduling parameters for the mn10300, so I suppose insns wouldn't be
moved around.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me