Re: [RFC] Vectorization of indexed elements

2013-12-04 Thread Vidya Praveen
Hi Jakub, Apologies for the late response. On Fri, Oct 11, 2013 at 04:05:24PM +0100, Jakub Jelinek wrote: > On Fri, Oct 11, 2013 at 03:54:08PM +0100, Vidya Praveen wrote: > > Here's a compilable example: > > > > void > > foo (int *__restrict__ a, > >

Re: [RFC] Vectorization of indexed elements

2013-12-04 Thread Vidya Praveen
Hi Richi, Apologies for the late response. I was on vacation. On Mon, Oct 14, 2013 at 09:04:58AM +0100, Richard Biener wrote: > On Fri, 11 Oct 2013, Vidya Praveen wrote: > > > On Tue, Oct 01, 2013 at 09:26:25AM +0100, Richard Biener wrote: > > > On Mon, 30 Sep 2013

Re: [RFC] Vectorization of indexed elements

2013-10-11 Thread Vidya Praveen
On Tue, Oct 01, 2013 at 09:26:25AM +0100, Richard Biener wrote: > On Mon, 30 Sep 2013, Vidya Praveen wrote: > > > On Mon, Sep 30, 2013 at 02:19:32PM +0100, Richard Biener wrote: > > > On Mon, 30 Sep 2013, Vidya Praveen wrote: > > > > > > > On Fri, Sep 2

Re: [RFC] Vectorization of indexed elements

2013-09-30 Thread Vidya Praveen
On Mon, Sep 30, 2013 at 02:19:32PM +0100, Richard Biener wrote: > On Mon, 30 Sep 2013, Vidya Praveen wrote: > > > On Fri, Sep 27, 2013 at 04:19:45PM +0100, Vidya Praveen wrote: > > > On Fri, Sep 27, 2013 at 03:50:08PM +0100, Vidya Praveen wrote: > > > [...] > &

Re: [RFC] Vectorization of indexed elements

2013-09-30 Thread Vidya Praveen
On Wed, Sep 25, 2013 at 10:22:05AM +0100, Richard Biener wrote: > On Tue, 24 Sep 2013, Vidya Praveen wrote: > > > On Tue, Sep 10, 2013 at 09:25:32AM +0100, Richard Biener wrote: > > > On Mon, 9 Sep 2013, Marc Glisse wrote: > > > > > > &g

Re: [RFC] Vectorization of indexed elements

2013-09-30 Thread Vidya Praveen
On Fri, Sep 27, 2013 at 04:19:45PM +0100, Vidya Praveen wrote: > On Fri, Sep 27, 2013 at 03:50:08PM +0100, Vidya Praveen wrote: > [...] > > > > I can't really insist on the single lane load.. something like: > > > > > > > > vc:V4SI[0] = c >

Re: [RFC] Vectorization of indexed elements

2013-09-27 Thread Vidya Praveen
On Fri, Sep 27, 2013 at 03:50:08PM +0100, Vidya Praveen wrote: [...] > > > I can't really insist on the single lane load.. something like: > > > > > > vc:V4SI[0] = c > > > vt:V4SI = vec_duplicate:V4SI (vec_select:SI vc:V4SI 0) > > > va:V4SI = v

Re: [RFC] Vectorization of indexed elements

2013-09-27 Thread Vidya Praveen
On Wed, Sep 25, 2013 at 10:24:56AM +0100, Richard Biener wrote: > On Tue, 24 Sep 2013, Vidya Praveen wrote: > > > On Mon, Sep 09, 2013 at 07:02:52PM +0100, Marc Glisse wrote: > > > On Mon, 9 Sep 2013, Vidya Praveen wrote: > > > > > > > Hello, > > &

Re: [RFC] Vectorization of indexed elements

2013-09-24 Thread Vidya Praveen
On Mon, Sep 09, 2013 at 07:02:52PM +0100, Marc Glisse wrote: > On Mon, 9 Sep 2013, Vidya Praveen wrote: > > > Hello, > > > > This post details some thoughts on an enhancement to the vectorizer that > > could take advantage of the SIMD instructions that allows ind

Re: [RFC] Vectorization of indexed elements

2013-09-24 Thread Vidya Praveen
On Tue, Sep 10, 2013 at 09:25:32AM +0100, Richard Biener wrote: > On Mon, 9 Sep 2013, Marc Glisse wrote: > > > On Mon, 9 Sep 2013, Vidya Praveen wrote: > > > > > Hello, > > > > > > This post details some thoughts on an enhancement to the vectorize

Re: dejagnu multilib options and dg-{add|additional-}options

2013-09-24 Thread Vidya Praveen
On Tue, Aug 27, 2013 at 04:34:09PM +0100, Janis Johnson wrote: > On 08/27/2013 06:52 AM, Marcus Shawcroft wrote: > > On 23 July 2013 17:40, Janis Johnson wrote: > >> On 07/22/2013 02:59 AM, Vidya Praveen wrote: > >>> Hello, > >>> > >>> Th

[RFC] Vectorization of indexed elements

2013-09-09 Thread Vidya Praveen
Hello, This post details some thoughts on an enhancement to the vectorizer that could take advantage of the SIMD instructions that allows indexed element as an operand thus reducing the need for duplication and possibly improve reuse of previously loaded data. Appreciate your opinion on this.

dejagnu multilib options and dg-{add|additional-}options

2013-07-22 Thread Vidya Praveen
Hello, There are 42 test files (25 under gcc.dg) that specifies { dg-add-options bind_pic_locally } in the regression testsuite. The procedure add_options_for_bind_pic_locally from lib/target-supports.exp adds -fPIE or -fpie when -fPIC or -fpic is passed respectively. But this is added before th