[PATCH, PR52252] Vectorization for load/store groups of size 3.
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Mon May 12 15:14:00 GMT 2014
Evgeny Stupachenko <evstupac@gmail.com> writes:
> Patch with fixes attached.
> Currently if-structure is as following:
> + if (count == 3)
> ...
> + else
> + {
> + /* If length is not equal to 3 then only power of 2 is supported. */
> + gcc_assert (exact_log2 (count) != -1);
>
> For stores group I've created another mail thread.
[...]
>>> 2014-05-06 Evgeny Stupachenko <evstupac@gmail.com>
>>>
>>> PR tree-optimization/52252
>>> * gcc.dg/vect/pr52252-ld.c: Test on loads group of size 3.
This test FAILs on sparc-sun-solaris2.11, both 32 and 64-bit:
FAIL: gcc.dg/vect/pr52252-ld.c scan-tree-dump-times vect "vectorized 1 loops" 1
FAIL: gcc.dg/vect/pr52252-ld.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 1
The dumps have
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: not vectorized: relevant stmt not supported: in0_9 = *in_27;
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr52252-ld.c:7:1: note: vectorized 0 loops in function.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc-patches
mailing list