This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Auto-Vectorization, Polyhedral Model
- From: Konrad Trifunovic <konrad dot trifunovic at gmail dot com>
- To: steven su <steven dot known at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, Albert Cohen <Albert dot Cohen at inria dot fr>
- Date: Tue, 15 Nov 2011 15:14:17 +0100
- Subject: Re: Auto-Vectorization, Polyhedral Model
- References: <CABUHNvjO8oWhtptVMkYHbaZRLTTNNBchrzOq0350aoc7w9g4mg@mail.gmail.com>
Hi,
Auto-Vectorization is still implemented in the 'old'- non polyhedral way.
Polyhedral model can only help drive the vectorization strategies.
What is happening is that Graphite (polyhedral model framework inside GCC)
is setting the flag on the loop that it thinks should be vectorized.
Later, the vectorizer pass is performing the vectorization - by rewritting
scalar instructions into vector instructions.
Please have a look at the paper "Polyhedral-Model Guided Loop-Nest
Auto-Vectorization".
Konrad
2011/11/15 steven su <steven.known@gmail.com>:
> Hi,
> Can anyone explain whether GCC has implemented Auto-Vectorization
> based on Polyhedral Model?
> Are there any related projects shooting at this, and ?in progress?
>
> Steven.
>