mips.c (mips_zero_if_equal): Only use XORs if the second operand is an uns_arith_oper...
authorRichard Sandiford <rsandifo@redhat.com>
Fri, 16 Jul 2004 07:53:47 +0000 (07:53 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 16 Jul 2004 07:53:47 +0000 (07:53 +0000)
commitf128625718d842a4c6355c1f02791f32b6443bb1
tree08a150079f4dff10c6ceb2b77fe6f36df831bf1e
parenta012718f1d0470cd1a19b4c8c5200de06ba47b0a
mips.c (mips_zero_if_equal): Only use XORs if the second operand is an uns_arith_operand...

* config/mips/mips.c (mips_zero_if_equal): Only use XORs if the second
operand is an uns_arith_operand; use subtraction otherwise.
* config/mips/mips.md (cmpsi, cmpdi): Allow any nonmemory_operand,
not just arith_operands.

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