You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: document/core/syntax/instructions.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -287,8 +287,8 @@ Instructions in this group are concerned with accessing :ref:`linear memory <syn
287
287
\ATOMICXCHG \\
288
288
\production{instruction} & \instr &::=&
289
289
\dots ~|~ \\&&&
290
-
\ATOMICNOTIFY~\memarg ~|~ \\&&&
291
-
\K{i}\X{nn}\K{.}\ATOMICWAIT~\memarg ~|~ \\&&&
290
+
\MEMORYATOMICNOTIFY~\memarg ~|~ \\&&&
291
+
\MEMORYATOMICWAIT\X{nn}~\memarg ~|~ \\&&&
292
292
\K{i}\X{nn}\K{.}\ATOMICLOAD~\memarg ~|~ \\&&&
293
293
\K{i}\X{nn}\K{.}\ATOMICSTORE~\memarg ~|~ \\&&&
294
294
\K{i}\X{nn}\K{.}\ATOMICLOAD\K{8\_u}~\memarg ~|~
@@ -324,13 +324,13 @@ this action conditionally, if the read value is equal to a provided comparison
324
324
argument. All other :ref:`atomicops <syntax-atomicop>` have behavior of the
325
325
:ref:`ibinop <syntax-ibinop>` of the same name.
326
326
327
-
The |ATOMICWAIT| and |ATOMICNOTIFY| instructions provide primitive
328
-
synchronization between :ref:`threads <syntax-thread>`. The |ATOMICWAIT|
327
+
The |MEMORYATOMICWAIT| and |MEMORYATOMICNOTIFY| instructions provide primitive
328
+
synchronization between :ref:`threads <syntax-thread>`. The |MEMORYATOMICWAIT|
329
329
instructions atomically load a value from the calculated effective address and
330
330
compare it to an expected value. If they are equal, the thread is then
331
331
suspended until a given timeout expires or another thread wakes it. The
332
-
|ATOMICNOTIFY| instruction wakes threads that are waiting on a given address, up
333
-
to a given maximum.
332
+
|MEMORYATOMICNOTIFY| instruction wakes threads that are waiting on a given
333
+
address, up to a given maximum.
334
334
335
335
336
336
.. index:: ! control instruction, ! structured control, ! label, ! block, ! branch, ! unwinding, result type, label index, function index, type index, vector, trap, function, table, function type
0 commit comments