mips.c (mips_emit_loadgp): Replace gen_* calls with separate gen_*_si and gen_*_di...
authorRichard Sandiford <rsandifo@nildram.co.uk>
Fri, 21 Dec 2007 10:00:36 +0000 (10:00 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 21 Dec 2007 10:00:36 +0000 (10:00 +0000)
commit5557aad2315dee174360445cd22a1583f4dfa535
treebb567a282f948beee1b42b897ff61f0f6e63e60a
parentb27283df297ad58c12c50ab6e6060c0f89292451
mips.c (mips_emit_loadgp): Replace gen_* calls with separate gen_*_si and gen_*_di calls.

gcc/
* config/mips/mips.c (mips_emit_loadgp): Replace gen_* calls with
separate gen_*_si and gen_*_di calls.  Pass pic_offset_table_rtx
as the first argument.
* config/mips/mips.md (loadgp_newabi, loadgp_absolute)
(loadgp_rtp): Rename to...
(loadgp_newabi_<mode>, loadgp_absolute<mode>, loadgp_rtp<mode>):
...these.  Add modes to all operands.  Add the target register
as an operand.  Combine loadgp_rtp<mode> with its splitter.

From-SVN: r131118
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.md