OSDN Git Service

Canonicalize mips conditional move patterns.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Aug 2004 21:18:42 +0000 (21:18 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Aug 2004 21:18:42 +0000 (21:18 +0000)
commitde5b8bfb4a7f84ec7d99ac266e59643b020c654c
tree15d5f5beb92127acde67c21a2758c860662f6b34
parentaa2553223ddc0fc76c36f3bd7cfbbec568245e22
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86145 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.md