File tree 1 file changed +2
-10
lines changed
proposals/bulk-memory-operations
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -320,16 +320,8 @@ written (by the copy operation) in the other region.
320
320
This instruction has two immediate arguments: the source and
321
321
destination memory indices. They currently both must be zero.
322
322
323
- If the source region starts at a lower address than the target region, then the
324
- copy takes place as if from higher to lower addresses: the highest source
325
- address is read first and the value is written to the highest target address,
326
- then the next highest, and so on. Otherwise, the copy takes place as if from
327
- lower to higher addresses: the lowest source address is read first and the
328
- value is written to the lowest target address, then the next lowest, and so on.
329
-
330
- (The direction of the copy is defined in order to future-proof
331
- ` memory.copy ` for shared memory and a memory read/write protection
332
- feature.)
323
+ Copying takes place as if an intermediate buffer were used, allowing the
324
+ destination and source to overlap.
333
325
334
326
The instruction has the signature ` [i32 i32 i32] -> [] ` . The parameters are, in order:
335
327
You can’t perform that action at this time.
0 commit comments