Visible to Intel only — GUID: GUID-9A2E3E41-AEA0-4664-904B-28D37921B2B5
Visible to Intel only — GUID: GUID-9A2E3E41-AEA0-4664-904B-28D37921B2B5
qopt-args-in-regs, Qopt-args-in-regs
Determines whether calls to routines are optimized by passing parameters in registers instead of on the stack. This is a deprecated option that may be removed in a future release.
Architecture Restrictions
Only available on IA-32 architecture. IA-32 support has been deprecated, and will be removed in a future release.
Syntax
Linux: |
-qopt-args-in-regs[=keyword] |
macOS: |
None |
Windows: |
/Qopt-args-in-regs[:keyword] |
Arguments
keyword |
Specifies whether the optimization should be performed and under what conditions. Possible values are:
|
Default
-qopt-args-in-regs=seen or /Qopt-args-in-regs:seen |
Parameters are passed in registers when they are passed to routines whose definition is seen in the same compilation unit. |
Description
This option determines whether calls to routines are optimized by passing parameters in registers instead of on the stack. It also indicates the conditions when the optimization will be performed.
This is a deprecated option that may be removed in a future release. There is no replacement option.
This option can improve performance for Application Binary Interfaces (ABIs) that require parameters 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 parameters are placed back on the stack where the callee expects them.
IDE Equivalent
Alternate Options
None