This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: auto vectorization in gcc
On Thu, 2003-07-17 at 13:48, Richard Henderson wrote:
> The tree level is *more* capable than the rtl level at representing
> vector types (and thus operations). I think all we need is some
> small amount of info from the target about vector widths and memory
> blocking, and then the transformation should happen at the tree level.
>
In my view, all the RTL transformations should just map the vector tree
codes to target instructions via the .md file. We shouldn't be doing
extensive analysis at this level. Alignment, unrolling and vector sizes
should be exposed at the tree level.
Some information about resource availability like number of vector
registers and whatnot. Or we let the tree vectorizer assume infinite
registers and let the register allocator deal with it?
Diego.