4.11.11 Write Memory Barrier
Format:
WMB | !Memory format |
Operation:
{Guarantee that
{All preceding
{regions are
{that access
{All preceding
{regions are
{that access
stores that access
stores that access
Exceptions:
None
Instruction mnemonics:
WMB | Write Memory Barrier |
Qualifiers:
None
Description:
The WMB instruction provides a way for software to control write buffers. It guarantees that writes preceding the WMB are not aggregated with writes that follow the WMB.
WMB guarantees that writes to
WMB causes writes that are contained in buffers to be completed without unnecessary delay. It is particularly suited for batching writes to
WMB prevents writes that precede the WMB from being merged with writes that follow the WMB. In particular, two writes that access the same location and are separated by a WMB cause two distinct and ordered write events.
In the absence of a WMB (or IMB or MB) instruction, stores to
Instruction Descriptions