Sebastian Pop wrote:
Hi Toon,
On Mon, Nov 30, 2009 at 13:51, Toon Moene wrote:
Sebastian,
Obviously, this could benefit from loop fusion, by combining the four
assignments in one loop.
Is that on the horizon ?
Yes, that's for gcc-4.6.
Thanks !
--
Toon Moene - e-mail: t...@moene.or
Hi Toon,
On Mon, Nov 30, 2009 at 13:51, Toon Moene wrote:
> Sebastian,
>
> I saw you updated the Graphite Wiki page, and I wondered if there are any
> concrete plans on loop fusion.
>
> The reason I ask is because in Fortran (as of Fortran 90) one often sees
> assignments like:
>
> REAL, ALLOCATA
Toon Moene wrote:
REAL, ALLOCATABLE :: A(:,:), B(:,:), C(:,:), D(:,:), E(:,:), F(:,:)
! ... READ IN EXTEND OF ARRAYS ...
READ*,N
! ... ALLOCATE ARRAYS
ALLOCATE(A(N,N),B(N,N),C(N,N),D(N,N),E(N,N),F(N,N))
! ... READ IN ARRAYS
READ*,A,B
C = A + B
D = A * C
E = B * EXP(D)
F = C * LOG(E)
whe
Sebastian,
I saw you updated the Graphite Wiki page, and I wondered if there are
any concrete plans on loop fusion.
The reason I ask is because in Fortran (as of Fortran 90) one often sees
assignments like:
REAL, ALLOCATABLE :: A(:,:), B(:,:), C(:,:), D(:,:), E(:,:), F(:,:)
! ... READ IN