Re: RFC: 2->2 combine patch

2016-06-20 Thread Segher Boessenkool
On Mon, Jun 20, 2016 at 02:39:06PM +0100, Kyrill Tkachov wrote: > >So I tried out the patch below. It decreases code size on most targets > >(mostly fixed length insn targets), and increases it a small bit on some > >variable length insn targets (doing an op twice, instead of doing it once > >and

Re: RFC: 2->2 combine patch

2016-06-20 Thread Kyrill Tkachov
Hi Segher, On 17/06/16 01:07, Segher Boessenkool wrote: On Fri, Jun 10, 2016 at 11:20:22AM +0200, Richard Biener wrote: With the proposed cost change for vector construction we will end up vectorizing the testcase in PR68961 again (on x86_64 and likely on ppc64le as well after that target gets

RFC: 2->2 combine patch (was: Re: [PATCH] Allow fwprop to undo vectorization harm (PR68961))

2016-06-16 Thread Segher Boessenkool
On Fri, Jun 10, 2016 at 11:20:22AM +0200, Richard Biener wrote: > With the proposed cost change for vector construction we will end up > vectorizing the testcase in PR68961 again (on x86_64 and likely > on ppc64le as well after that target gets adjustments). Currently > we can't optimize that away