[RFC] [autovect patch] Implement vectorization hints

Paul Brook paul@codesourcery.com
Sun Feb 27 18:51:00 GMT 2005


On Sunday 27 February 2005 11:26, Steven Bosscher wrote:
> On Friday 25 February 2005 01:27, Devang Patel wrote:
> > This patch implements two #pragmas that developers can use to give
> > hints to auto vectorization pass. These pragmas are inserted in the
> > source file before the loop. They are effective only on the very next
> > loop in the source file.
>
> I was especially interested in understanding how you preserve the
> information from the #pragma through the parser and the first steps
> of the optimizers.  This is a "feature" we need for other pragmas
> as well, such as pragmas to control unrolling, OpenMP, and the ia64
> _USE_SF pragma.

This would also be useful for the fortran frontend where language semantics 
provide additional guarantees.

Paul



More information about the Gcc-patches mailing list