Next: , Previous: Sparc-Regs, Up: Sparc-Syntax



9.34.3.3 Constants

Several Sparc instructions take an immediate operand field for which mnemonic names exist. Two such examples are membar and prefetch. Another example are the set of V9 memory access instruction that allow specification of an address space identifier.

The membar instruction specifies a memory barrier that is the defined by the operand which is a bitmask. The supported mask mnemonics are:

These values can be ored together, for example:

     membar #Sync
     membar #StoreLoad | #LoadLoad
     membar #StoreLoad | #StoreStore

The prefetch and prefetcha instructions take a prefetch function code. The following prefetch function code constant mnemonics are available: