You are not logged in.
I'm trying to get some vectorization rapports using the ftree-vectorizer-verbose=(e.g.)3 option, which doesn't seem to give any optimization output.
Minimal example:
int main ()
{
int a[256], b[256], c[256];
for (int i=0; i<256; i++)
a[i] = b[i] + c[i];
return 0;
}
using
g++ -O3 -ftree-vectorizer-verbose=3 ........
On my laptop (GCC 4.8.2) this provides the normal output ("note: ===vect_slp_analyze_bb===", etc.), on my Arch linux system (4.9.1) I get no vectorization output.
Any idea where this might go wrong?
Last edited by julietbravo (2014-08-10 10:17:26)
Offline
Check Bug 58134.
Read documentation also, especially part with
gcc -O2 -ftree-vectorize -fopt-info-vec-missed
Offline
Ah, thanks! I missed that, the -fopt-info-.... indeed works.
Offline