Next: , Previous: , Up: Sparc-Syntax   [Contents][Index] 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:

Next: , Previous: , Up: Sparc-Syntax   [Contents][Index]