Import the GC spec tests
Categories
(Core :: JavaScript: WebAssembly, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: rhunt, Assigned: bvisness)
References
Details
Attachments
(2 files, 1 obsolete file)
The GC proposal has spec-tests for its instructions [1]. At some point we should import them using our tool [2].
[1] https://github.com/WebAssembly/gc/tree/main/test/core/gc
[2] https://searchfox.org/mozilla-central/source/js/src/jit-test/etc/wasm/generate-spectests
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
The attached patch is not final but can be used to run spec tests. They don't all pass yet, but we can create new bugs for issues that come up and make them block this bug until they're all resolved.
Updated•2 years ago
|
| Assignee | ||
Comment 3•2 years ago
|
||
- Fix wasm module serialization order. Element segments sometimes need to refer to types during deserialization, but element segments were being deserialized before code objects (which contain types).
- Do function subtype checks on import, rather than requiring strict equality.
- Allow explicit null function references in table initializers.
- Initialize type defs before tables when instantiating modules.
| Assignee | ||
Comment 4•2 years ago
|
||
This required significantly reworking how the harness handles ref.extern. We no
longer "canonicalize" externrefs created by the harness, since when checking for
an externref result we now extract the numeric value contained within.
Depends on D188737
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7bd8ba854c67
https://hg.mozilla.org/mozilla-central/rev/49e126195a99
Description
•