mips.md (sync_compare_and_swap<mode>): Handle compare against constant zero.
commit966b774d3ee4a815985f45e5357d4ebcc789c413
authorDavid Daney <ddaney@avtrex.com>
Tue, 2 Oct 2007 20:15:34 +0000 (2 20:15 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Tue, 2 Oct 2007 20:15:34 +0000 (2 20:15 +0000)
tree7035d4c488f70534410b155769fc256cabe15238
parent53c666346b269829669ec14afee4d31d2bf4ff9b
mips.md (sync_compare_and_swap<mode>): Handle compare against constant zero.

* config/mips/mips.md (sync_compare_and_swap<mode>): Handle compare
against constant zero.
* config/mips/mips.h (MIPS_COMPARE_AND_SWAP):  Handle constant zero
operand.

From-SVN: r128963
gcc/ChangeLog
gcc/config/mips/mips.h
gcc/config/mips/mips.md