Canonicalize mips conditional move patterns.
authorJames E Wilson <wilson@specifixinc.com>
Tue, 17 Aug 2004 21:18:42 +0000 (21:18 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 17 Aug 2004 21:18:42 +0000 (14:18 -0700)
commit4ef47bd8e00785f76cdd08aad06c5a7ffe161804
tree15d5f5beb92127acde67c21a2758c860662f6b34
parent1a10290c1cb47d0e1308e35e56087c53344daaae
Canonicalize mips conditional move patterns.

* config/mips/mips.c (gen_conditional_move): Use GET_MODE (op0) instead
of VOIDmode for comparison code mode.
* config/mips/mips.md: For conditional move patterns, use mode of
first compare operand for comparison mode, instead of VOIDmode.

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