This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16048] New: Simple loop doesn't get vectorized
- From: "tjw at omnigroup dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2004 06:24:00 -0000
- Subject: [Bug tree-optimization/16048] New: Simple loop doesn't get vectorized
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When compiled with:
$PREFIX/bin/gcc -O2 -ftree-vectorize -fdump-tree-vect-stats -maltivec -S test.c -o /tmp/test.s
the attached test case doesn't get vectorized. Commenting out the indicated line allows the
vectorization to happen, but other simple replacements for that line don't allow vectorization (for
example 'zr = r2').
No comment is written to the .vect file indicating why vectorization failed.
--
Summary: Simple loop doesn't get vectorized
Product: gcc
Version: lno
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tjw at omnigroup dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-apple-darwin7.4.0
GCC host triplet: powerpc-apple-darwin7.4.0
GCC target triplet: powerpc-apple-darwin7.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16048