[Kernel-meetup] Getting optimization report from g++

Chaitanya Kukde chaitanya.kukde at gmail.com
Sun May 3 14:59:36 PDT 2020


Hello all,

Hope you are okay in this tough time.

For a course assignment I had to use Intel C++ Compiler and it had a
nifty little option called -qopt-report
(https://software.intel.com/en-us/cpp-compiler-developer-guide-and-reference-qopt-report-qopt-report).
Is there a similar option in gcc to get compiler optimization reports
(specifically pertaining to vector optimizations)? I found one called
-fopt-info-all but it was filed under "options for GCC developers" and
the report is significantly difficult to read than the Intel one.

Was wondering if I was missing something.

Cheers!
Chaitanya


More information about the Kernel-meetup mailing list