sync

Operands

imm

Variants

  • Synchronize shared memory : Orders the loads and stores around it, so that another processor observes them in program order. This simulator runs a single processor and completes every access immediately, so there is nothing to reorder and 'sync' does nothing. It is accepted so that compiler output and real-world code assemble unchanged. sync
  • Synchronize shared memory (typed) : Like 'sync', but the operand selects which accesses to order. This simulator completes every access immediately, so the type is ignored and the instruction does nothing. sync 1

Synchronize shared memory : Orders the loads and stores around it, so that another processor observes them in program order. This simulator runs a single processor and completes every access immediately, so there is nothing to reorder and 'sync' does nothing. It is accepted so that compiler output and real-world code assemble unchanged.

Loading...