Closed Bug 1617564 Opened 5 years ago Closed 5 years ago

Land primitive WarpBuilder prototype

Categories

(Core :: JavaScript Engine: JIT, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Goal is to be able to compile a return 0; function (including off-thread MIR building), behind a --warp shell flag. That will give us something concrete to improve.

Assignee: nobody → jdemooij

This has just enough code to be able to compile a "return 0;" function,
including off-thread MIR building.

The new builder consists of two parts:

  • WarpOracle: runs on the main thread, produces a WarpSnapshot.
  • WarpBuilder: can run off-thread, uses the WarpSnapshot to generate MIR.

WarpOracle will make a lot of the optimization decisions (which scripts can be
compiled, which ICs are copied, which functions we want to inline). WarpBuilder
will do 'just' MIR building.

This is an early prototype; the code is expected to change significantly the
coming weeks/months.

Depends on D64012

Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3dbf9f9d69b4 part 1 - Add a --warp shell flag. r=iain https://hg.mozilla.org/integration/autoland/rev/a2d34756f1f7 part 2 - Add minimal WarpBuilder prototype. r=iain
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: