Update memory.copy and table.copy encodings
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: lth, Assigned: lth)
References
Details
Attachments
(1 file)
5.74 KB,
patch
|
jseward
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•6 years ago
|
||
Also this changes the encoding of instructions by reordering immediates: https://github.com/WebAssembly/bulk-memory-operations/commit/446b9c2b8ac5186768bb1d0eccd96052f20a7f03
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Working on getting some clarification on this: https://github.com/WebAssembly/reference-types/issues/18. There are several open questions about encoding and operand order.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
I will file a bug / followup to the "sync with reftypes" bug, to get this nailed down, it's overdue. It's clear that these need to be varuint32, and the reftypes spec forces that issue, as seen from the definition of eg table_get there.
https://github.com/WebAssembly/reference-types/blob/b70d03c26d39616dc13c167836d055ecaa412fa2/interpreter/binary/decode.ml#L268
https://github.com/WebAssembly/reference-types/blob/b70d03c26d39616dc13c167836d055ecaa412fa2/interpreter/binary/decode.ml#L198
(Same comment for several other bugs hanging off of bug 1413846.)
Comment 7•6 years ago
|
||
bugherder |
Description
•