Closed Bug 1784267 Opened 2 years ago Closed 2 years ago

Import the function-reference spec tests

Categories

(Core :: JavaScript: WebAssembly, task, P3)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: rhunt, Assigned: yury)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

The function-references proposal has spec-tests for its instructions [1]. At some point we should import them using our tool [2]. This might be blocked on implementing the type system better.

[1] https://github.com/WebAssembly/function-references/blob/main/test/core/call_ref.wast
[2] https://searchfox.org/mozilla-central/source/js/src/jit-test/etc/wasm/generate-spectests

  • Update wast to 46.0.0
  • Fix names.wast warning
  • Process only non-excluded tests
Assignee: nobody → ydelendik
Status: NEW → ASSIGNED

Add readFromRootedLocation method to set Val type.

Depends on D155096

Depends on D155097

Attachment #9290684 - Attachment description: WIP: Bug 1784267 - Initial import of function-references spec tests. → Bug 1784267 - Initial import of function-references spec tests. r?rhunt
Pushed by ydelendik@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6d5afbb8ecb Update wast in the generate-spectests util. r=rhunt https://hg.mozilla.org/integration/autoland/rev/6643c7b0436a Fix wasmLosslessInvoke for non-nullable. r=rhunt https://hg.mozilla.org/integration/autoland/rev/6410325095c3 Initial import of function-references spec tests. r=rhunt
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: