mips.h (MIPS_CMP_MOVT, [...]): Delete.
authorRichard Sandiford <rsandifo@redhat.com>
Sun, 29 Aug 2004 11:10:05 +0000 (11:10 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 29 Aug 2004 11:10:05 +0000 (11:10 +0000)
commitff55fb9cb68b4f67662af05c43bd003f40540ef1
treed0638af63f6bc1e3774509e61eaf2a9f9a644ade
parentf691c4e3d1a8af49816bdebc28ab469c91a36911
mips.h (MIPS_CMP_MOVT, [...]): Delete.

* config/mips/mips.h (MIPS_CMP_MOVT, MIPS_CMP_MOVF): Delete.
* config/mips/mips.c (mips_prepare_builtin_arg): New function.
(mips_prepare_builtin_target): New function.
(mips_expand_builtin): Use them.  Update calls to subroutines.
(mips_expand_ps_cond_move_builtin): Use the new functions.  Replace
cmp_choice with a boolean argument to select between movt and movf.
Take the comparison's icode as an argument, not the function's fcode.
(mips_expand_compare_builtin): New function.  Rename existing function
to mips_expand_scalar_compare_builtin.
(mips_expand_scalar_compare_builtin, mips_expand_4s_compare_builtin)
(mips_expand_ps_compare_builtin): Use the new functions.  Take the
comparison's icode as an argument, not the builtin's fcode.

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