[Webkit-unassigned] [Bug 162952] We should support more than one size register for WASM.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 29 23:32:47 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=162952

JF Bastien <jfbastien at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jfbastien at apple.com,
                   |                            |keith_miller at apple.com,
                   |                            |sbarati at apple.com
         Depends on|                            |165282

--- Comment #1 from JF Bastien <jfbastien at apple.com> ---
In bug #165282 I'm adding code which assumes that all WebAssembly.Instance have the same pinned registers. I'm doing this because wasm->wasm calls are generated at Module time, without knowing which import will be provided at Instance time.

We could instead generate one stub per type of outcall:
 - wasm w/ fast memory -> wasm w/o memory
 - wasm w/ fast memory -> wasm w/ slow memory
 - wasm w/o memory -> wasm w/ fast memory
 - wasm w/o memory -> wasm w/ slow memory
 - wasm w/ slow memory -> wasm w/ fast memory
 - wasm w/ slow memory -> wasm w/o memory

I'm not sure the complexity (and potential for bugs!) are worth it at this point in time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161230/0e0e824a/attachment.html>


More information about the webkit-unassigned mailing list