[CSC 435] Using the Vectorizer

Andrew Pounds pounds_aj at mercer.edu
Thu Jan 28 19:08:43 EST 2016


To turn on the vectorizer output you have to use several optimization flags

-ftree-vectorize -fdump-tree-vect -ftree-vectorizer-verbose=2

when you compile with these flags (I made a makefile variable for them) 
it will produce an output file with a .vect file extension. If you look 
at this file it will tell you which loops in your code were vectorized.





More information about the csc435 mailing list