Closed Bug 1618595 Opened 5 years ago Closed 5 years ago

Cranelift: update Baldrdash for new isel backend

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: bbouvier, Assigned: bbouvier)

References

Details

Attachments

(4 files, 4 obsolete files)

Attached patch wip.patch (obsolete) — Splinter Review

I'm just posting a WIP patch here, to be completed as we implement more instructions in the new Cranelift isel backend.

Priority: -- → P3
Depends on: 1626967
Attached patch wip.patch (obsolete) — Splinter Review
Attachment #9129539 - Attachment is obsolete: true
Attached patch folded-wip.patch (obsolete) — Splinter Review

This is the previous wip patch, plus all the patches from dependencies, folded altogether.

Depends on: 1627181
Attached patch wip.patch (obsolete) — Splinter Review
Attachment #9137804 - Attachment is obsolete: true
Attachment #9137805 - Attachment is obsolete: true
Attachment #9138113 - Attachment is obsolete: true

A few patches, folded together for testing purposes:

  1. import this patch in your spidermonkey fork
  2. make sure to checkout a recent version of Chris' fork of wasmtime
  3. follow the steps in https://github.com/bytecodealliance/cranelift/wiki/Spidermonkey#using-a-local-cranelift-fork-in-spidermonkey to point to the fork of wasmtime.
Attachment #9138813 - Attachment description: Bug 1618595: WIP supporting cranelift's new-isa; → Bug 1618595: Support Cranelift's new codegen backend in Baldrdash; r?cfallin

This requires adding a new JSOptions field (for internal use within the shell),
as well as a new browser pref (to support possible Cranelift benchmarking on
aarch64).

Try build, with Cranelift bump (we can't do it yet because wasmtime has a few overly large files):
https://treeherder.mozilla.org/#/jobs?repo=try&revision=84fe59490627313483f4b73171e7200c96d693c3

Pushed by bbouvier@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c34adf867751 Bump Cranelift to b7cfd39b531680217537cfcf5294a22077a0a58d; r=jseward https://hg.mozilla.org/integration/autoland/rev/8ca39ea654b4 Support Cranelift's new codegen backend in Baldrdash; r=cfallin https://hg.mozilla.org/integration/autoland/rev/50cce8fd017c Disable Cranelift on aarch64 when reftypes are enabled; r=lth,perftest-reviewers,sparky
Blocks: 1649932
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: