This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: auto vectorization - should this work ?
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: gianni at mariani dot ws
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 6 May 2007 15:12:49 +0300
- Subject: Re: auto vectorization - should this work ?
Yes, this should get vectorized. The problem is in data dependencies
analysis. We fail to prove that s_5->a[i_16] and s_5->a[i_16] access the
same memory location. I think, it happens since when we compare the bases
of the data references (s_5->a and s_5->a) in base_object_differ_p(), we do
that by comparing the trees (which are pointers) and not their content.
I'll look into this and, I hope, I will submit a fix for that soon (I guess
using operand_equal_p instead).
Thanks,
Ira