* combine.c (try_combine): Canonicalize (plus (mult X pow2) Y) into
commitb3676e5e1385660a22599c04baff703c1a0b2571
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 May 2015 20:08:43 +0000 (22 20:08 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 May 2015 20:08:43 +0000 (22 20:08 +0000)
tree8753bdc32ff1157eb172568c94c63b6eb3e4fee9
parent33bd76b5c837ba1d72033030397d66956c736868
* combine.c (try_combine): Canonicalize (plus (mult X pow2) Y) into
(plus (ashift X log2) Y) if it is a split point.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223583 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/hppa/shadd-3.c [new file with mode: 0644]