public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Inner loop unable to compute sufficient information during   vectorization
@ 2009-05-25 22:25 Abhishek Shrivastav
  2009-05-26 13:54 ` Ira Rosen
  0 siblings, 1 reply; 3+ messages in thread
From: Abhishek Shrivastav @ 2009-05-25 22:25 UTC (permalink / raw)
  To: gcc

for a loop like

1         for(i=0;i<N;i++)
2           for(j=0;j<N;j++)
3               a[i][j] = a[i][j]+b[i][j];

GCC 4.3.* is unable to get the information for the inner loop that
array reference 'a'  is alias of each other and generates code for
runtime aliasing check during vectorization. Is it necessary to
recompute all information in loop_vec_info in function
vect_analyze_ref for analysis of inner loop also, as most of the
information is similar for the outer loop for the program.

Similarly, outer loop is able to compute correct chrec i.e. NULL , for
array 'a' reference, while innerloop has chrec as chrec_dont_know, and
therfore complaint about runtime alias check.

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <4f5553710905310644y22561aa5s4b8482990360842e@mail.gmail.com>]

end of thread, other threads:[~2009-06-02 12:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-25 22:25 Inner loop unable to compute sufficient information during vectorization Abhishek Shrivastav
2009-05-26 13:54 ` Ira Rosen
     [not found] <4f5553710905310644y22561aa5s4b8482990360842e@mail.gmail.com>
2009-06-02 12:15 ` Ira Rosen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).