pa.md (add-with-constant splitter): Use ASHIFT rather than MULT for shadd sequences.
commitf3da53751662e7a4e2fd6a1c119565518f1e2c63
authorJeff Law <law@redhat.com>
Thu, 21 May 2015 17:18:16 +0000 (21 11:18 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 21 May 2015 17:18:16 +0000 (21 11:18 -0600)
tree2cbb5327c6ed67c66271fe28d2e48f0bbb8e79df
parent65d932637ed3ffb25d08011a02e8ed0129f1aecb
pa.md (add-with-constant splitter): Use ASHIFT rather than MULT for shadd sequences.

* config/pa/pa.md (add-with-constant splitter): Use ASHIFT rather
than MULT for shadd sequences.

* gcc.target/hppa/shadd-4.c: New test.

From-SVN: r223495
gcc/ChangeLog
gcc/config/pa/pa.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/hppa/shadd-4.c [new file with mode: 0644]