Understanding gcc 4.9.2 auto-vectorization output

﹥>﹥吖頭↗ 提交于 2019-11-29 02:34:40

Actually digging in gcc online doc, I finally found out that I should use instead: -fopt-info-vec-optimized (or maybe -fopt-info-vec-all). See here and here:

optimized: Print information when an optimization is successfully applied. It is up to a pass to decide which information is relevant. For example, the vectorizer passes print the source location of loops which are successfully vectorized.

missed: Print information about missed optimizations. Individual passes control which information to include in the output.

note: Print verbose information about optimizations, such as certain transformations, more detailed messages about decisions etc.

all: Print detailed optimization information. This includes ‘optimized’, ‘missed’, and ‘note’.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!