The memory offset annotation .mem.offset provides hints about the address that memory operations address, when the exact address is unknown. The annotation is useful for avoiding false reports of dependency violations. The annotation affects the instruction that follows.
The .mem.offset annotation has the following syntax:
.mem.offset off_val, base_ind
Where:
off_val |
The relative offset for the memory region where the data is stored or retrieved. |
base_ind |
A number that identifies the memory region where the information is stored or retrieved. The number is an arbitrary method of distinguishing between different memory regions. |
Example Using the Memory Offset Annotation illustrates a .mem.offset annotation.
Example: Using the Memory Offset Annotation |
.proc foo |