auto vectorization in gcc

Richard Henderson rth@redhat.com
Thu Jul 17 18:45:00 GMT 2003


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~



More information about the Gcc mailing list