Re: Merge epilog loop loop version due to alias/alignment in vectorization?

2014-02-05 Thread Richard Biener
On Tue, Feb 4, 2014 at 5:27 PM, Bingfeng Mei b...@broadcom.com wrote: Hi, One of biggest issues we have with GCC vectorization is bloated code size. For example, vectorized version is 2.5 times of non-vectorized one for the following simple code. One reason is that GCC often creates one loop

RE: Merge epilog loop loop version due to alias/alignment in vectorization?

2014-02-05 Thread Bingfeng Mei
version due to alias/alignment in vectorization? See also http://gcc.gnu.org/ml/gcc/2013-08/msg00259.html There are some concerns, but it would be interesting to do some benchmarking of this. David On Tue, Feb 4, 2014 at 8:27 AM, Bingfeng Mei b...@broadcom.com wrote: Hi, One of biggest issues we

Merge epilog loop loop version due to alias/alignment in vectorization?

2014-02-04 Thread Bingfeng Mei
Hi, One of biggest issues we have with GCC vectorization is bloated code size. For example, vectorized version is 2.5 times of non-vectorized one for the following simple code. One reason is that GCC often creates one loop copy because of aliasing/alignment and one epilog loop because of loop

Re: Merge epilog loop loop version due to alias/alignment in vectorization?

2014-02-04 Thread Xinliang David Li
See also http://gcc.gnu.org/ml/gcc/2013-08/msg00259.html There are some concerns, but it would be interesting to do some benchmarking of this. David On Tue, Feb 4, 2014 at 8:27 AM, Bingfeng Mei b...@broadcom.com wrote: Hi, One of biggest issues we have with GCC vectorization is bloated code