Re: [PATCH] Enhancing the widen-mult pattern in vectorization.

2014-04-17 Thread Richard Biener
On Sat, Dec 7, 2013 at 12:45 AM, Cong Hou wrote: > After further reviewing this patch, I found I don't have to change the > code in tree-vect-stmts.c to allow further type conversion after > widen-mult operation. Instead, I detect the following pattern in > vect_recog_widen_mult_pattern(): > > T1

Re: [PATCH] Enhancing the widen-mult pattern in vectorization.

2013-12-06 Thread Cong Hou
After further reviewing this patch, I found I don't have to change the code in tree-vect-stmts.c to allow further type conversion after widen-mult operation. Instead, I detect the following pattern in vect_recog_widen_mult_pattern(): T1 a, b; ai = (T2) a; bi = (T2) b; c = ai * bi; where T2 is mor