Visible to Intel only — GUID: GUID-4464E95B-79D2-4D8C-8193-A725C4F060D3
Visible to Intel only — GUID: GUID-4464E95B-79D2-4D8C-8193-A725C4F060D3
qopt-subscript-in-range, Qopt-subscript-in-range
Determines whether the compiler assumes that there are no "large" integers being used or being computed inside loops.
Linux: |
-qopt-subscript-in-range -qno-opt-subscript-in-range |
macOS: |
-qopt-subscript-in-range -qno-opt-subscript-in-range |
Windows: |
/Qopt-subscript-in-range /Qopt-subscript-in-range- |
None
-qno-opt-subscript-in-range |
The compiler assumes there are "large" integers being used or being computed within loops. |
This option determines whether the compiler assumes that there are no "large" integers being used or being computed inside loops.
If you specify [q or Q]opt-subscript-in-range, the compiler assumes that there are no "large" integers being used or being computed inside loops. A "large" integer is typically > 231.
This feature can enable more loop transformations.
None
Example
The following example shows how these options can be useful. Variable m is declared as type long (64-bits) and all other variables inside the subscript are declared as type int (32-bits):
A[ i + j + ( n + k) * m ]