combine.c (find_split_point): Handle ASHIFT like MULT to encourage multiply-accumulat...
authorJeff Law <law@redhat.com>
Thu, 21 May 2015 12:44:44 +0000 (06:44 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 21 May 2015 12:44:44 +0000 (06:44 -0600)
commita7a629d72f2b25832c4b9c7c2b11d03da73d5546
tree634c25240aea15d29c8cc3ef04f40c0ffb62eedb
parentb47fbc5307fe0f03ff302627d8977c402e34feff
combine.c (find_split_point): Handle ASHIFT like MULT to encourage multiply-accumulate/shift-add insn generation.

* combine.c (find_split_point): Handle ASHIFT like MULT to encourage
multiply-accumulate/shift-add insn generation.

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

From-SVN: r223481
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/hppa/shadd-2.c [new file with mode: 0644]