This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Merge to trunk from Graphite branch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]