Closed Bug 1628227 Opened 5 years ago Closed 5 years ago

Land CacheIR to MIR prototype

Categories

(Core :: JavaScript Engine: JIT, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The goal is to get some initial CacheIR to MIR compilation working for a simple IC (maybe GetName or UnaryArith..). There will definitely be missing pieces but it's good to have something concrete we can improve and extend.

The transpiler lets us inline CacheIR IC stubs for JSOp::Get{G}Name ops.
It supports just enough instructions to pass jit-tests.

There are still missing pieces (see TODOs, especially in WarpOracle::maybeInlineIC)
and ideally the transpiler class should share more code with CacheIRCompiler
(for example the reader.readFoo() calls).

Priority: -- → P1
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82d84da94d8d Add WarpCacheIRTranspiler prototype. r=iain
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: