[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-10-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 Jakub Jelinek changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-05-24 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 --- Comment #8 from rguenther at suse dot de --- On Thu, 24 May 2018, jason.vas.dias at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 > > --- Comment #7 from Jason Vas Dias --- > Aha! > Yes, I was experimenting

[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-05-24 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 --- Comment #7 from Jason Vas Dias --- Aha! Yes, I was experimenting with the new '-march=haswell' and '-mtune=intel' options ( which seem to me to be the wrong way round - shouldn't 'haswell' be an '-mtune' option and 'intel' be an '-march'

[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-05-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 --- Comment #6 from Richard Biener --- The log file shows the loop was already vectorized by loop vectorization. How did you configure gcc? It might be you configured a default -march/tune that doesn't match the testcase expectation (and the

[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-05-24 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 --- Comment #5 from Jason Vas Dias --- Could it be an issue to do with running on different hardware? The CPU on the machine is a rather old 4-core (8 with HyperThreading) Haswell : processor : 0 vendor_id : GenuineIntel cpu

[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-05-24 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 --- Comment #4 from Jason Vas Dias --- Same commands run by GCC 5.5.0 or GCC 7.3.1 succeed: $ g++5 slp-pr56812.cc -nostdinc++ -std=c++98 -O2 -ftree-vectorize -fno-vect-cost-model -msse2 -fdump-tree-slp-details=gcc5.out -O3 -funroll-loops

[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-05-24 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 --- Comment #3 from Jason Vas Dias --- Created attachment 44174 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44174=edit slp1 log file Here is the slp1 log file produced by command: $

[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-05-24 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 --- Comment #2 from Jason Vas Dias --- Created attachment 44173 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44173=edit log file produced by 'make check-g++ 'RUNTESTFLAGS=vect.exp=slp-pr56812*' Log file showing test failures as

[Bug tree-optimization/85891] [6 Regression] Simple loop is not SLP-vectorized after r196872

2018-05-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85891 Richard Biener changed: What|Removed |Added Target||x86_64-*-*