sparc.md (adddi3): If operands[2] is 4096 and operands[1] is constant...
authorJakub Jelinek <jakub@redhat.com>
Mon, 6 Nov 2000 10:42:20 +0000 (11:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 6 Nov 2000 10:42:20 +0000 (11:42 +0100)
commit8b1c5fd0255ca3710cfeb86e5a2c2c50d1000ea9
tree93f76c20cec258871e34c34edb6c9c73abb25f6e
parenta0115140d05f5dd8b2206a3c9ab1f930730fba3e
sparc.md (adddi3): If operands[2] is 4096 and operands[1] is constant...

* config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
operands[1] is constant, calculate the sum and generate movdi.
(addsi3): Similarly.  Use SImode in call to arith_4096_operand.
(subsi3): Use SImode in call to arith_4096_operand.

* gcc.c-torture/execute/20001031-1.c: New test.

From-SVN: r37274
gcc/ChangeLog
gcc/config/sparc/sparc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20001031-1.c [new file with mode: 0644]