--- Comment #8 from dominiq at lps dot ens dot fr 2010-09-08 17:49 ---
One of the first thing taught in fortran is that the loop ordering in the test
in comment #0 is bad.
If the loops are interchanged (as they should) the code vectorize. Is not
-floop-interchange supposed to do that if
--- Comment #7 from dorit at gcc dot gnu dot org 2009-01-27 12:46 ---
related testcase/PR: PR37021
and related discussion: http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01322.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33113
--- Comment #6 from dorit at gcc dot gnu dot org 2007-11-01 00:55 ---
thanks!
> but the problem is that in the vectorizer, DR_STEP has to be an
> INTEGER_CST: for instance,
> step = TREE_INT_CST_LOW (DR_STEP (dra));
> ...
> || tree_int_cst_compare (DR_STEP (dra), DR_STEP (drb)))
--- Comment #5 from sebpop at gmail dot com 2007-10-31 23:43 ---
Subject: Re: Failing to represent the stride (with array) of a dataref when it
is not a constant
> > Making us return symbolic stride would not be hard. The problem is that
> > data
> > dependence analysis would fail an
--- Comment #4 from spop at gcc dot gnu dot org 2007-08-31 14:19 ---
*** Bug 33246 has been marked as a duplicate of this bug. ***
--
spop at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #3 from rakdver at kam dot mff dot cuni dot cz 2007-08-20
12:10 ---
Subject: Re: Failing to represent the stride (with array) of a dataref when it
is not a constant
> --- Comment #2 from dorit at gcc dot gnu dot org 2007-08-20 05:55 ---
> > Making us return symbol
--- Comment #2 from dorit at gcc dot gnu dot org 2007-08-20 05:55 ---
> Making us return symbolic stride would not be hard. The problem is that data
> dependence analysis would fail anyway,
sometimes (not in this testcases) there won't be a need for dependence testing
- e.g. a reducti
--- Comment #1 from rakdver at gcc dot gnu dot org 2007-08-19 20:08 ---
(In reply to comment #0)
> In the following testcase:
>
> subroutine sub(aa,bb,n,m)
> implicit none
> integer, intent(in) :: n,m
> real, intent(inout) :: aa(n,m)
> real, intent(in):: bb(n,m)
> integer