OSDN Git Service

* config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jan 2004 09:32:19 +0000 (09:32 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jan 2004 09:32:19 +0000 (09:32 +0000)
commitfa70e73915c2f40f2390a2488151110cbbb4b21a
tree65d76887069d195a7fc11856f45606f663fa911d
parentf3ccd0ea4e122b3914b08b1606cef2a47c5208ff
* config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
(mips_preferred_reload_class): Declare.
* config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
(EXTRA_CONSTRAINT): Update accordingly.
(PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
* config/mips/mips.c (mips_dangerous_for_la25_p): New function.
(mips_preferred_reload_class): New function.  Prefer LEA_REGS if
mips_dangerous_for_la25_p.
(mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
if mips_dangerous_for_la25_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75420 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h