Re: [PATCH] Fix ICE when generating a vector shift by scalar

2015-09-03 Thread Richard Biener
On Wed, Sep 2, 2015 at 11:14 PM, Bill Schmidt wrote: > > On Wed, 2015-09-02 at 14:44 +0200, Richard Biener wrote: >> On Tue, Sep 1, 2015 at 5:53 PM, Bill Schmidt >> wrote: >> > On Tue, 2015-09-01 at 11:01 +0200, Richard Biener wrote: >> >> On Mon, Aug 31, 2015 at 10:28 PM, Bill Schmidt >> >> wro

Re: [PATCH] Fix ICE when generating a vector shift by scalar

2015-09-02 Thread Bill Schmidt
On Wed, 2015-09-02 at 14:44 +0200, Richard Biener wrote: > On Tue, Sep 1, 2015 at 5:53 PM, Bill Schmidt > wrote: > > On Tue, 2015-09-01 at 11:01 +0200, Richard Biener wrote: > >> On Mon, Aug 31, 2015 at 10:28 PM, Bill Schmidt > >> wrote: > >> > Hi, > >> > > >> > The following simple test fails w

Re: [PATCH] Fix ICE when generating a vector shift by scalar

2015-09-02 Thread Richard Biener
On Tue, Sep 1, 2015 at 5:53 PM, Bill Schmidt wrote: > On Tue, 2015-09-01 at 11:01 +0200, Richard Biener wrote: >> On Mon, Aug 31, 2015 at 10:28 PM, Bill Schmidt >> wrote: >> > Hi, >> > >> > The following simple test fails when attempting to convert a vector >> > shift-by-scalar into a vector shif

Re: [PATCH] Fix ICE when generating a vector shift by scalar

2015-09-01 Thread Bill Schmidt
On Tue, 2015-09-01 at 11:01 +0200, Richard Biener wrote: > On Mon, Aug 31, 2015 at 10:28 PM, Bill Schmidt > wrote: > > Hi, > > > > The following simple test fails when attempting to convert a vector > > shift-by-scalar into a vector shift-by-vector. > > > > typedef unsigned char v16ui __attribut

Re: [PATCH] Fix ICE when generating a vector shift by scalar

2015-09-01 Thread Richard Biener
On Mon, Aug 31, 2015 at 10:28 PM, Bill Schmidt wrote: > Hi, > > The following simple test fails when attempting to convert a vector > shift-by-scalar into a vector shift-by-vector. > > typedef unsigned char v16ui __attribute__((vector_size(16))); > > v16ui vslb(v16ui v, unsigned char i) > {

[PATCH] Fix ICE when generating a vector shift by scalar

2015-08-31 Thread Bill Schmidt
Hi, The following simple test fails when attempting to convert a vector shift-by-scalar into a vector shift-by-vector. typedef unsigned char v16ui __attribute__((vector_size(16))); v16ui vslb(v16ui v, unsigned char i) { return v << i; } When this code is gimplified, the shift amount