Closed
Bug 1532927
Opened 6 years ago
Closed 6 years ago
Multi-byte opcodes are not actually byte + byte but byte + leb128
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: lth, Assigned: lth)
References
Details
Attachments
(1 file)
I believe this reached consensus a long time ago but it's not been an issue until SIMD: for a prefixed operation, the secondary opcode is not a byte but a leb128, yet we read it as a byte. This must change.
Assignee | ||
Comment 1•6 years ago
|
||
Changes to decoding, dispatch, and encoding to handle a uint32_t representation
for the secondary opcode.
Also a drive-by fix to remove an orphaned enum in WasmTypes.h
Pushed by shindli@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/9cd8b6db0567
Secondary wasm opcodes are not bytes. r=luke
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•