Intel® Fortran Compiler 16.0 User and Reference Guide
Determines whether calls to routines are optimized by passing arguments in registers instead of on the stack. Option -qopt-args-in-regs is the replacement option for -opt-args-in-regs, which is deprecated.
Only available on IA-32 architecture
Linux and OS X: | -qopt-args-in-regs[=keyword] |
Windows: | /Qopt-args-in-regs[:keyword] |
keyword |
Specifies whether the optimization should be performed and under what conditions. Possible values are:
|
-qopt-args-in-regs=seen or /Qopt-args-in-regs:seen |
Arguments are passed in registers when they are passed to routines whose definition is seen in the same compilation unit. |
This option determines whether calls to routines are optimized by passing arguments in registers instead of on the stack. It also indicates the conditions when the optimization will be performed.
This option can improve performance for Application Binary Interfaces (ABIs) that require arguments to be passed in memory and compiled without interprocedural optimization (IPO).
Note that on Linux* systems, if all is specified, a small overhead may be paid when calling "unseen" routines that have not been compiled with the same option. This is because the call will need to go through a "thunk" to ensure that arguments are placed back on the stack where the callee expects them.
None