Why vectorization didn't turn on by -O2

172060045@hdu.edu.cn 172060045@hdu.edu.cn
Sat May 8 12:07:31 GMT 2021

Hi all,

Recently I noticed that gcc -O2 didn't turn on vectorization optimization, 
which it turns on in clang -O2.

Does GCC think it involves the trade-off of space speed, or other considerations?

Thanks in advance.


More information about the Gcc-help mailing list