mips-protos.h (mips_split_symbol): Add a mode and an "rtx *" argument.
commit390ea488c1753eaf9c747ead8f653c9023058109
authorRichard Sandiford <richard@codesourcery.com>
Wed, 8 Aug 2007 15:40:27 +0000 (8 15:40 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 8 Aug 2007 15:40:27 +0000 (8 15:40 +0000)
tree3316463566d687eaeaa605c042e7ff6cca105e65
parentfbb96ac51d24dd44fb28ce484d8df3630aff6306
mips-protos.h (mips_split_symbol): Add a mode and an "rtx *" argument.

gcc/
* config/mips/mips-protos.h (mips_split_symbol): Add a mode and
an "rtx *" argument.  Return a bool.
* config/mips/mips.c (mips_split_symbol): Accept arbitrary source
values and return true if they can be split.  Take the same kind of
mode argument as mips_symbol_insns.  Add a "lo_sum_out" parameter
and store the lo_sum there if nonnull.  Use the symbol type to
determine whether a $gp or HIGH is needed.
(mips_legitimize_address): Update call to mips_split_symbol and
simplify accordingly.
(mips_legitimize_const_move): Likewise.
* config/mips/mips.md: In the combine define_split,
check mips_split_symbol instead of splittable_symbolic_operand.
Update use of mips_split_symbol in the generator code.
* config/mips/predicates.md (splittable_symbolic_operand): Delete.

From-SVN: r127298
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.md
gcc/config/mips/predicates.md