Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7679 Discussions

Equivalent of "gcc -Q --help=target"

Mark_D_9
New Contributor I
273 Views

Intel documentation indicates that the optimization parameters used with -O3 can change between versions of the compiler. I would like to evaluate the difference in optimizations between v16.3 and v17. Is there a simple way to arrive at the options used in a similar fashion that gcc allows with the options shown in my Subject line?

0 Kudos
2 Replies
Yuan_C_Intel
Employee
273 Views

Hi, Mark

You can use -qopt-report option to generate optimization report which will tell you what optimizations apply on each function or loops.

See reference from: https://software.intel.com/en-us/node/522935

Or to get a list of options actually used, you can try '-#'

See if this helps.

Thank you.

Mark_D_9
New Contributor I
273 Views

Yuan,

Thanks! The '-#' option gave me the output I want. Now I'm stuck trying to figure out what the following mean since there's no existing documentation for them:

-mGLOB_extended_instructions=

-mGLOB_advanced_optim=

Reply