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]

Re: [preliminary patch] Optimize mov in h8300 port (revised!)


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

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