Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Two zero immediates for memory.copy and table.copy - #43

Merged
binji merged 2 commits into
masterfrom
index-immediates
Jan 9, 2019
Merged

binji merged 2 commits into
masterfrom
index-immediates

Conversation

@binji

@binji binji commented Nov 29, 2018

Copy link
Copy Markdown
Member

@binji binji changed the title All index immediates are varuint32; two for *.copy Two zero immediates for memory.copy and table.copy Nov 29, 2018
@binji

binji commented Nov 29, 2018

Copy link
Copy Markdown
Member Author

Actually, perhaps we should keep these as being a single zero byte, to match the other instructions.

@binji
binji merged commit 178a7f6 into master Jan 9, 2019
@binji
binji deleted the index-immediates branch January 9, 2019 16:32
alexcrichton added a commit to alexcrichton/wabt that referenced this pull request Jan 29, 2019
binji pushed a commit to WebAssembly/wabt that referenced this pull request Jan 29, 2019
joyeecheung pushed a commit to joyeecheung/v8 that referenced this pull request Feb 4, 2019
* There are now two indexes for table.copy and memory.copy, one for the
source and the one for the destination table/memory. (see
WebAssembly/bulk-memory-operations#43)

* Reverse the order of the table.init and memory.init indexes, so the
segment index is first and the table/memory index is second. (see
WebAssembly/bulk-memory-operations#45)

Change-Id: I1781edd4200a7b693e3d0814999e6292aafa58d3
Reviewed-on: https://chromium-review.googlesource.com/c/1446149
Reviewed-by: Ben Titzer <[email protected]>
Commit-Queue: Ben Smith <[email protected]>
Cr-Commit-Position: refs/heads/master@{#59259}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant