]> git.ipfire.org Git - thirdparty/gcc.git/commit
mips-protos.h (mips_dangerous_for_la25_p): Declare.
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 5 Jan 2004 09:32:19 +0000 (09:32 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 5 Jan 2004 09:32:19 +0000 (09:32 +0000)
commita6008bd88abf03dbad82293089fef08d534fdaeb
tree65d76887069d195a7fc11856f45606f663fa911d
parent543ebd4aea03f0051b035315344fced4e8fcf86c
mips-protos.h (mips_dangerous_for_la25_p): Declare.

* 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.

From-SVN: r75420
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h