Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

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

Mark_D_9
New Contributor I
546 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
546 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.

0 Kudos
Mark_D_9
New Contributor I
546 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=

0 Kudos
Reply