Detect if a code is candidate for vectorization ( AVX2 )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux