Wax_wasm.AtomicsSourceThe WAT mnemonic, e.g. i64.atomic.rmw16.add_u.
Every atomic op (atomic.fence excluded), for enumerating their mnemonics.
The sub-opcode following the 0xFE prefix.
The Wax surface: a method name carries the access width only (atomic_load16, atomic_rmw_add8), so it denotes a family of concrete ops — the i32/i64 value type is resolved from the operand and result types during typing, mirroring the plain scalar accesses.
type family = | Load of width| Store of width| Rmw of Ast.atomic_rmwop * width| Wait of [ `I32 | `I64 ]| NotifyThe Wax method spelling on a memory receiver, e.g. atomic_load16, atomic_rmw_add8, atomic_notify (the inverse of of_method_name).
The family a concrete op belongs to (its width is the access width).
Number of bytes a family accesses — the width from the name, independent of which i32/i64 value type the operands select; its base-2 logarithm is the required (exact) alignment.
The base-2 logarithm of the access size; the memarg alignment must equal it exactly.
The operands after the address (which takes the memory's address type) and the results.