Closed Bug 1267053 Opened 8 years ago Closed 8 years ago

wasm: register operators

Categories

(Core :: JavaScript Engine: JIT, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dougc, Assigned: dougc)

References

Details

Attachments

(1 file)

WIP patches to implement the proposal being discussed at https://github.com/WebAssembly/design/issues/669

For a start this adds an opcode 0xbb to switch the opcodes to reading their arguments from local variables (aka registers) and writing their results to local variables, and their result type in terms of the wasm expressions is Void so in this mode there are effectively no expressions.

There is a demo of AngryBots converted to use this encoding at http://webll.org/files/AngryBotsR/

This does not yet implement opcodes with immediate constants which improves the encoding efficiency, nor the register prediction model, but it demonstrates the core semantics of the proposal.
Assignee: nobody → dtc-moz
WONTFIXing since the GH issue was closed.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: