Re: Prefer scalar offset in vector shifts

2013-05-13 Thread Jakub Jelinek
On Mon, May 13, 2013 at 06:46:00PM +0200, Marc Glisse wrote: > -O is enough. Could you commit that please? Or I can do it in a > couple hours. Done. Jakub

Re: Prefer scalar offset in vector shifts

2013-05-13 Thread Marc Glisse
On Mon, 13 May 2013, Jakub Jelinek wrote: On Sun, May 12, 2013 at 02:04:52PM +0200, Marc Glisse wrote: this patch passes bootstrap+testsuite on x86_64-linux-gnu. When moving uniform_vector_p, I only added the gcc_assert. Note that the fold_binary patch helps for constant vectors, but not for {n

Re: Prefer scalar offset in vector shifts

2013-05-13 Thread Jakub Jelinek
On Sun, May 12, 2013 at 02:04:52PM +0200, Marc Glisse wrote: > this patch passes bootstrap+testsuite on x86_64-linux-gnu. When > moving uniform_vector_p, I only added the gcc_assert. Note that the > fold_binary patch helps for constant vectors, but not for {n,n,n,n}, > which will require some help

Re: Prefer scalar offset in vector shifts

2013-05-13 Thread Richard Biener
On Sun, May 12, 2013 at 2:04 PM, Marc Glisse wrote: > Hello, > > this patch passes bootstrap+testsuite on x86_64-linux-gnu. When moving > uniform_vector_p, I only added the gcc_assert. Note that the fold_binary > patch helps for constant vectors, but not for {n,n,n,n}, which will require > some he