我正在使用Codeblocks在Windows 7上编写C程序。该程序使用OMP库。GCC版本为4.9.2。Mingw x86_64-w64-mingw32-gcc-4.9.2.exe。
使用的标志是: -fopenmp -O3 -mfpmath=sse -funroll-loops -ftree-loop-distribution -ftree-vectorize -ftree-vectorizer-verbose=2
。
程序可以正确运行,但问题是它没有显示有关循环向量化或未向量化的信息。我该怎么解决?
构建日志信息:
-------------- 在****中构建:发布 (编译器:GNU GCC Compiler)---------------
x86_64-w64-mingw32-gcc-4.9.2.exe-Wall-O2-march = corei7 -fexpensive-optimizations -O3 -fopenmp -mfpmath = sse -funroll-loops -ftree-loop-distribution -ftree-vectorize -ftree-vectorizer-verbose = 2 -c C:\ Users ... \ f.c -o obj \ Release \ f.o x86_64-w64-mingw32-g ++ .exe -o bin \ Release \ d.exe obj \ Release \ f.o obj \ Release \ main.o -s “C:\ Program Files ... \ libgomp-1.dll” 输出文件大小为21.00 KB的bin \ Release \ d.exe进程终止状态为0(0分钟,0秒)0个错误,0个警告(0分钟,0秒)