This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18546] tree vectorizer does not understand RETURN_DECL
- From: "cjb at mrao dot cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2005 15:53:17 -0000
- Subject: [Bug tree-optimization/18546] tree vectorizer does not understand RETURN_DECL
- References: <20041118161104.18546.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cjb at mrao dot cam dot ac dot uk 2005-03-05 15:53 -------
> No you are no missing reading. This is vectorized on x86 but not on PPC.
Thanks, Andrew. I'm also having trouble reproducing it on PPC (under OS X
10.3.4), though. Same GCC source tree and test source, and:
% ./g++ -O2 -maltivec -ftree-vectorize -fdump-tree-vect-stats
-ftree-vectorizer-verbose=9 -S 18546.cpp
18546.cpp:9: note: LOOP VECTORIZED.
18546.cpp:6: note: vectorized 1 loops in function.
The generated .t55.vect is a tiny diff away from the x86 version; I'll attach it
and the generated asm.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18546