Lets the compiler use dword indexes to access elements of arrays of structs that do not exceed a specified number of bytes.
Linux: | -qopt-dword-index-for-array-of-structs[=val] |
Windows: | /Qopt-dword-index-for-array-of-structs[:value] |
val |
Is 16 or 32. If val is not specified, the compiler uses dword indexes to access elements of arrays of structs that do not exceed 16 bytes. |
OFF |
The compiler uses dword indexes only when it can determine it is safe to do so. |
This option lets the compiler use dword indexes to access elements of arrays of structs that do not exceed val bytes.
The relevant arrays should contain no more than INT_MAX / sizeof(element) elements.
None
The following shows an example of using this option:
icx -qopt-dword-index-for-array-of-structs t.c