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?
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.
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: