[PATCH]: Alignment analysis from autovect

Daniel Berlin dberlin@dberlin.org
Sun Mar 27 18:48:00 GMT 2005


On Sun, 2005-03-27 at 20:21 +0200, Andi Kleen wrote:
> Daniel Berlin <dberlin@dberlin.org> writes:
> 
> > As part of the vectorizer improvements, this adds alignment analysis
> > that was on autovect, that uses the propagation engine to attempt to
> > determine pointer alignment.
> >
> > There is room for improvement in what it can handle (for example, it
> > doesn't deal with masking operations right now), but it works, and is
> > useful to the vectorizer.
> 
> [...]
> 
> Is the pointer alignment generated by this patch used by memset/memcpy
> builtin code generation too?

Not yet.
There are plenty of things that can use the results of this analysis, of
course, and memset/memcpy just one of them.




More information about the Gcc-patches mailing list