[Bug tree-optimization/16048] New: Simple loop doesn't get vectorized

tjw at omnigroup dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 18 06:24:00 GMT 2004


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



More information about the Gcc-bugs mailing list