This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Detect if a code is candidate for vectorization ( AVX2 )


Hi

I am trying to find if a code has functions candidates to AVX2
optimizations . I am running the following build commands but with no
luck:

gcc main.c test.c -o main -ftree-vectorizer-verbose=2
gcc main.c test.c -o main -fopt-info-vec=6
gcc main.c test.c -o main -fdump-tree-vect-details

The only one that shows me something

gcc -O2 -ftree-vectorizer-verbose=2 -fopt-info-vec-missed main.c test.c -o main

But i have to run both -ftree-vectorizer-verbose=2 and  -fopt-info-vec-missed


I am trying to understand more or if I am doing something wrong

Best Regards

Victor Rodriguez


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]