Re: [patch] Support vectorization of widening shifts

2011-10-18 Thread Ira Rosen
On 18 October 2011 11:43, Jakub Jelinek wrote: > On Tue, Oct 18, 2011 at 11:39:22AM +0200, Ira Rosen wrote: >> On 2 October 2011 10:30, Ira Rosen wrote: >> > On 29 September 2011 17:30, Ramana Radhakrishnan >> > wrote: >> >> On 19 September 2011 08:54, Ira Rosen wrote: >> >> >> >>> >> >>> Boots

Re: [patch] Support vectorization of widening shifts

2011-10-18 Thread Jakub Jelinek
On Tue, Oct 18, 2011 at 11:39:22AM +0200, Ira Rosen wrote: > On 2 October 2011 10:30, Ira Rosen wrote: > > On 29 September 2011 17:30, Ramana Radhakrishnan > > wrote: > >> On 19 September 2011 08:54, Ira Rosen wrote: > >> > >>> > >>> Bootstrapped on powerpc64-suse-linux, tested on powerpc64-suse

Re: [patch] Support vectorization of widening shifts

2011-10-02 Thread Ira Rosen
On 29 September 2011 17:30, Ramana Radhakrishnan wrote: > On 19 September 2011 08:54, Ira Rosen wrote: > >> >> Bootstrapped on powerpc64-suse-linux, tested on powerpc64-suse-linux >> and arm-linux-gnueabi >> OK for mainline? > > Sorry I missed this patch. Is there any reason why we need unspecs i

Re: [patch] Support vectorization of widening shifts

2011-09-29 Thread Ramana Radhakrishnan
On 19 September 2011 08:54, Ira Rosen wrote: > > Bootstrapped on powerpc64-suse-linux, tested on powerpc64-suse-linux > and arm-linux-gnueabi > OK for mainline? Sorry I missed this patch. Is there any reason why we need unspecs in this case ? Can't this be represented by subregs and zero/ sign e

Re: [patch] Support vectorization of widening shifts

2011-09-27 Thread Richard Guenther
On Tue, Sep 27, 2011 at 8:32 AM, Ira Rosen wrote: > On 26 September 2011 17:12, Richard Guenther > wrote: >> On Mon, Sep 19, 2011 at 9:54 AM, Ira Rosen wrote: >>> Hi, >>> >>> This patch adds a support of widening shift left. The following >>> pattern is detected: >>> >>> type a_t; >>> TYPE a_T,

Re: [patch] Support vectorization of widening shifts

2011-09-26 Thread Ira Rosen
On 26 September 2011 17:12, Richard Guenther wrote: > On Mon, Sep 19, 2011 at 9:54 AM, Ira Rosen wrote: >> Hi, >> >> This patch adds a support of widening shift left. The following >> pattern is detected: >> >> type a_t; >> TYPE a_T, res_T; >> >> a_t = ; >> a_T = (TYPE) a_t; >> res_T = a_T << CON

Re: [patch] Support vectorization of widening shifts

2011-09-26 Thread Richard Guenther
On Mon, Sep 19, 2011 at 9:54 AM, Ira Rosen wrote: > Hi, > > This patch adds a support of widening shift left. The following > pattern is detected: > > type a_t; > TYPE a_T, res_T; > > a_t = ; > a_T = (TYPE) a_t; > res_T = a_T << CONST; > > ('TYPE' is at least 2 times bigger than 'type', and CONST