Re: -O3 and -ftree-vectorize

2014-02-08 Thread Tim Prince
On 2/7/2014 11:09 AM, Tim Prince wrote: On 02/07/2014 10:22 AM, Jakub Jelinek wrote: On Thu, Feb 06, 2014 at 05:21:00PM -0500, Tim Prince wrote: I'm seeing vectorization but no output from -ftree-vectorizer-verbose, and no dot product vectorization inside omp parallel regions, with gcc g++ o

Re: -O3 and -ftree-vectorize

2014-02-07 Thread Tim Prince
On 02/07/2014 10:22 AM, Jakub Jelinek wrote: On Thu, Feb 06, 2014 at 05:21:00PM -0500, Tim Prince wrote: I'm seeing vectorization but no output from -ftree-vectorizer-verbose, and no dot product vectorization inside omp parallel regions, with gcc g++ or gfortran 4.9. Primary targets are cygwi

Re: -O3 and -ftree-vectorize

2014-02-07 Thread Jakub Jelinek
On Thu, Feb 06, 2014 at 05:21:00PM -0500, Tim Prince wrote: > I'm seeing vectorization but no output from > -ftree-vectorizer-verbose, and no dot product vectorization inside > omp parallel regions, with gcc g++ or gfortran 4.9. Primary targets > are cygwin64 and linux x86_64. > I've been unable

Re: -O3 and -ftree-vectorize

2014-02-06 Thread Xinliang David Li
On Thu, Feb 6, 2014 at 2:21 PM, Tim Prince wrote: > > On 2/6/2014 1:51 PM, Uros Bizjak wrote: >> >> Hello! >> >> 4.9 does not enable -ftree-vectorize for -O3 (and Ofast) anymore. Is >> this intentional? >> >> $/ssd/uros/gcc-build/gcc/xgcc -B /ssd/uros/gcc-build/gcc -O3 -Q >> --help=optimizers >> >

Re: -O3 and -ftree-vectorize

2014-02-06 Thread Tim Prince
On 2/6/2014 1:51 PM, Uros Bizjak wrote: Hello! 4.9 does not enable -ftree-vectorize for -O3 (and Ofast) anymore. Is this intentional? $/ssd/uros/gcc-build/gcc/xgcc -B /ssd/uros/gcc-build/gcc -O3 -Q --help=optimizers ... -ftree-vectorize [disabled] ... I'm seeing vectori

Re: -O3 and -ftree-vectorize

2014-02-06 Thread Xinliang David Li
The invoke.texi is correct. -ftree-vectorize is now simply a short-hand to enable both loop and slp vectorizer. I will fix the the help message appropriately. David On Thu, Feb 6, 2014 at 11:20 AM, Uros Bizjak wrote: > On Thu, Feb 6, 2014 at 8:01 PM, Xinliang David Li wrote: >> It is a bug in

Re: -O3 and -ftree-vectorize

2014-02-06 Thread Uros Bizjak
On Thu, Feb 6, 2014 at 8:01 PM, Xinliang David Li wrote: > It is a bug in the help message dump. You can see that > ftree-loop-vectorize ftree-slp-vectorize are indeed enabled. I see. It would be also nice to fix -O3 entry in doc/invoke.texi that currently reads: --cut here-- @item -O3 @opindex

Re: -O3 and -ftree-vectorize

2014-02-06 Thread Xinliang David Li
It is a bug in the help message dump. You can see that ftree-loop-vectorize ftree-slp-vectorize are indeed enabled. David On Thu, Feb 6, 2014 at 10:51 AM, Uros Bizjak wrote: > Hello! > > 4.9 does not enable -ftree-vectorize for -O3 (and Ofast) anymore. Is > this intentional? > > $/ssd/uros/gcc-b

-O3 and -ftree-vectorize

2014-02-06 Thread Uros Bizjak
Hello! 4.9 does not enable -ftree-vectorize for -O3 (and Ofast) anymore. Is this intentional? $/ssd/uros/gcc-build/gcc/xgcc -B /ssd/uros/gcc-build/gcc -O3 -Q --help=optimizers ... -ftree-vectorize [disabled] ... This is the reason for low scores on SciMark v2.0 as conducted