[patch] Support vectorization of double reduction
Richard Guenther
richard.guenther@gmail.com
Mon Jul 13 09:06:00 GMT 2009
On Sun, Jul 12, 2009 at 9:10 AM, Ira Rosen<IRAR@il.ibm.com> wrote:
>
> Hi,
>
> This patch enables vectorization of outer loops with double reduction,
> e.g.,
>
> s = 0;
> for i
> for j
> s += a[j][i];
> use (s)
>
> i.e., the reduction is used only outside the outer loop.
>
>
> Bootstrapped with vectorization enabled and tested on x86_64-suse-linux.
> Committed revision 149526.
This causes the build of 416.gamess in SPEC 2006 to ICE
on x86_64 with
/gcc/spec/sb-barbella.suse.de-head-64-2006/x86_64/install-hack/bin/gfortran
-c -o solib.fppized.o -O3 -funroll-loops -fpeel-loops -ffast-math
-march=native -DSPEC_CPU_LP64 -ffixed-form
solib.fppized.f
solib.fppized.f: In function 'propagate':
solib.fppized.f:828:0: internal compiler error: in vinfo_for_stmt, at
tree-vectorizer.h:617
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
specmake: *** [solib.fppized.o] Error 1
specmake: *** Waiting for unfinished jobs....
Richard.
More information about the Gcc-patches
mailing list