Re: [PATCH] Pattern recognize shifts with different rhs1/rhs2 types

2011-10-30 Thread Ira Rosen
On 28 October 2011 20:44, Jakub Jelinek wrote: > Hi! Hi, > > This patch implements what I've talked about, with this we can now > with -mavx2 as well as -mxop vectorize long long/unsigned long long > shifts by int or long long/unsigned long long shifts by long long > (where the FE casts it to in

[PATCH] Pattern recognize shifts with different rhs1/rhs2 types

2011-10-28 Thread Jakub Jelinek
Hi! This patch implements what I've talked about, with this we can now with -mavx2 as well as -mxop vectorize long long/unsigned long long shifts by int or long long/unsigned long long shifts by long long (where the FE casts it to int first). Already covered by the *vshift-* testcases I've commit