This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [preliminary patch] Optimize mov in h8300 port (revised!)
- To: Bernd Schmidt <bernds at redhat dot co dot uk>
- Subject: Re: [preliminary patch] Optimize mov in h8300 port (revised!)
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 13 Oct 2000 15:16:47 -0200
- Cc: Kazu Hirata <kazu at hxi dot com>, gcc-patches at gcc dot gnu dot org, law at cygnus dot com
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.21.0010131106520.1279-100000@host117.cygnus>
On Oct 13, 2000, Bernd Schmidt <bernds@redhat.co.uk> wrote:
> There is no way to define CONST_COSTS so that it is correct in all
> situations. Before reload, we want to use constants rather than
> registers to decrease register pressure. After reload, registers
> usually lead to smaller and/or faster code.
Can't we just test the value of `reload_completed' in this macro, and
proceed accordingly?
--
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