[patch] Merge to trunk from Graphite branch
Sebastian Pop
sebpop@gmail.com
Sat Mar 13 19:22:00 GMT 2010
On Sat, Mar 13, 2010 at 12:15, Toon Moene <toon@moene.org> wrote:
> Sebastian Pop wrote:
>
>> I just merged the Graphite branch back to trunk. This solved
>> PR43349 for which I just added the testcase, as I already have
>> taken care of it in the Graphite branch.
>
> Hmmm, is it just me or ...
>
> If I commpile:
>
> subroutine sum(a, b, c, n)
> integer i, n
> real a(n), b(n), c(n)
> do i = 1, n
> c(i) = a(i) + b(i)
> enddo
> end
>
> with -g -O3 -S and with -g -O3 -fgraphite-identity I strongly get the
> impression that -fgraphite-identity turns off vectorization (which is on by
> default with -O3).
>
> Or am I missing something ...
The vectorizer should be fixed to handle the code generated by Graphite.
The vectorizer expects to see a very particular form of code, and if
anything differs from that pattern, it won't generate vector code.
Sebastian
More information about the Gcc-patches
mailing list