Re: Vectorization opportunities for conditional branches.

2015-01-09 Thread Richard Biener
On Mon, Jan 5, 2015 at 3:27 AM, Ajit Kumar Agarwal wrote: > > The following fig (1) shows an implementation of the SSQ kernel from the BLAS > Library in ATLAS. > Fig(2) shows the conversions of the IF-THEN-ELSE in Fig(1) to vectorized > code. Normally in the automatic vectorization the IF-THEN-E

Vectorization opportunities for conditional branches.

2015-01-04 Thread Ajit Kumar Agarwal
The following fig (1) shows an implementation of the SSQ kernel from the BLAS Library in ATLAS. Fig(2) shows the conversions of the IF-THEN-ELSE in Fig(1) to vectorized code. Normally in the automatic vectorization the IF-THEN-ELSE is vectorized only after the IF-CONVERSION that converts con