Next: Nvidia PTX Variable Attributes, Previous: Microsoft Windows Variable Attributes, Up: Variable Attributes
upper
either
lower
If -mdata-region={upper,either,none
} has been passed, or
the section
attribute is applied to a variable, the compiler will
generate 430X instructions to handle it. This is because the compiler has
to assume that the variable could get placed in the upper memory region
(above address 0xFFFF). Marking the variable with the lower
attribute
informs the compiler that the variable will be placed in lower memory so it
is safe to use 430 instructions to handle it.
In the case of the section
attribute, the section name given
will be used, and the .lower
prefix will not be added.