This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: auto vectorization in gcc
On Thu, Jul 17, 2003 at 02:15:37PM -0400, David Edelsohn wrote:
> I believe part of the concern is alignment issues. If the code
> was not originally written with vector types, we cannot guarantee that
> objects will have the appropriate alignment for SIMD instructions.
Ok, sure, but that just means either (1) we have access to the
original DECL, and we *force* proper alignment or (2) we generate
extra code to ensure alignment or (3) we bail.
The only thing that happens by waiting to rtl level is that we
lose the ability to do (1).
r~