sparc.c (arith_4096_operand, [...]): New predicates.
authorJakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
Tue, 25 Aug 1998 06:56:57 +0000 (08:56 +0200)
committerDavid S. Miller <davem@gcc.gnu.org>
Tue, 25 Aug 1998 06:56:57 +0000 (23:56 -0700)
commit5d6d333901aacf4485d6dc5f3b4a24d358c4edde
treeec0d689878f17ab5f72ea35da4bc8c1bcc4d06e1
parent00045f52758be5d18a71697c20a00d0d0ae4753e
sparc.c (arith_4096_operand, [...]): New predicates.

* config/sparc/sparc.c (arith_4096_operand, arith_add_operand,
arith_double_4096_operand, arith_double_add_operand): New
predicates.
* config/sparc/sparc.h (PREDICATE_CODES): Add them, declare them.
* config/sparc/sparc.md (adddi3, addsi3, subdi3, subsi3): Use
them to transform add/sub 4096 into add/sub -4096.

From-SVN: r21961
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md