mn10300: Cleanup all arithmetic.
authorRichard Henderson <rth@redhat.com>
Wed, 19 Jan 2011 18:38:56 +0000 (10:38 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 19 Jan 2011 18:38:56 +0000 (10:38 -0800)
commitbad41521231654dafc67f31cb8abfa47ad09c691
treeace1f21241006fb62f9953f7971b5fd323b64fde
parent9efb4993cbbe8ca0ee1ae50e472ac7beb58f13f1
mn10300: Cleanup all arithmetic.

For addition and logicals, define an operation-plus-flags update pattern
in preparation for compare elimination.  In addition, clean up the way
we compare and validate CC_MODEs.  Define NEG in terms of NOT; this is
smaller and allows a non-clobbering destination alternative.

From-SVN: r169010
gcc/ChangeLog
gcc/config/mn10300/mn10300-modes.def
gcc/config/mn10300/mn10300-protos.h
gcc/config/mn10300/mn10300.c
gcc/config/mn10300/mn10300.h
gcc/config/mn10300/mn10300.md
gcc/config/mn10300/predicates.md