This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: auto vectorization in gcc
- From: Richard Henderson <rth at redhat dot com>
- To: Dorit Naishlos <DORIT at il dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org, Diego Novillo <dnovillo at redhat dot com>, dje at watson dot ibm dot com
- Date: Thu, 17 Jul 2003 10:48:05 -0700
- Subject: Re: auto vectorization in gcc
- References: <OF129DBCCF.99C6474B-ONC2256D66.004608FF-C2256D66.00461C31@telaviv.ibm.com>
On Thu, Jul 17, 2003 at 03:45:47PM +0300, Dorit Naishlos wrote:
> (c) since the tree-level is machine independent, actual vectorization
> will take place in the RTL level
I would think this would be false. Just because the tree level
representation is machine independent doesn't mean we can't do
any target-specific transformations.
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.
r~