Closed gtrepta closed 1 month ago
This adds the semantics for the memory.fill instruction.
memory.fill
In the spec they desugar the instruction into a sequence of i32.store8 instructions. For efficiency, we just use the #setBytesRange function.
i32.store8
#setBytesRange
https://webassembly.github.io/spec/core/exec/instructions.html#xref-syntax-instructions-syntax-instr-memory-mathsf-memory-fill
This adds the semantics for the
memory.fill
instruction.In the spec they desugar the instruction into a sequence of
i32.store8
instructions. For efficiency, we just use the#setBytesRange
function.https://webassembly.github.io/spec/core/exec/instructions.html#xref-syntax-instructions-syntax-instr-memory-mathsf-memory-fill