Re: version of gcc and auto-vectorization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ranjith kumar <ranjit_kumar_b4u@xxxxxxxxxxx> writes:

> 1) In my P.C. gcc version 4.1.2 has been installed.
> I have a look at http://gcc.gnu.org/.
>    In that it is said that 4.1.2 is the "current
> release series", "Next release series:  GCC 4.2.0" and
> "Active development:  GCC 4.3.0"
> 
> What does it mean? Has gcc 4.2.0/4.3.0 been
> released???

No.  It means that 4.2 is the next release.  4.3 is under active
development.
> 
> 2)From which version "auto-vectorization" has been
> included?
> In  
> http://gcc.gnu.org/projects/tree-ssa/vectorization.html#status4.0
>  it is said that gcc 4.0 also does
> "auto-vectorization".
> Deos it mean auto-vectorization cababilities of gcc4.0
> and gcc4.1/4.2 are same??

No, it is under active development and is enhanced in each release.

> 3)-ftree-vectorize is the flag that enables
> autovectorization. isn't it??

Yes.

> 4) where can I get C programs for which gcc can do
> autovectorization and for which it cant?

There are test cases in gcc/testsuite/gcc.dg/vect.

> 4) I know all languages are internallay converted to
> same representation(in the context of gcc compiler).
> So what is said in gcc manuals about
> auto-vectorization is applicable to all languages gcc
> supports. Isn't it?

Yes.  But some languages are more amenable to vectorization than
others.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux