Re: [GSoC] doubts in writing rotate patterns

2014-08-04 Thread Richard Biener
On Sun, Aug 3, 2014 at 10:40 PM, Prathamesh Kulkarni wrote: > This patch adds the following rotate pattern: > ((T) ((T2) X << CNT1)) + ((T) ((T2) X >> CNT2)) iff CNT1 + CNT2 == B > > Depends on the following patch (not yet committed): > https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00128.html

[GSoC] doubts in writing rotate patterns

2014-08-03 Thread Prathamesh Kulkarni
This patch adds the following rotate pattern: ((T) ((T2) X << CNT1)) + ((T) ((T2) X >> CNT2)) iff CNT1 + CNT2 == B Depends on the following patch (not yet committed): https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00128.html * genmatch.c (dt_simplify::capture_max): Change value to 6. * match-r