<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:jfbastien@apple.com" title="JF Bastien <jfbastien@apple.com>"> <span class="fn">JF Bastien</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - We should support more than one size register for WASM."
href="https://bugs.webkit.org/show_bug.cgi?id=162952">bug 162952</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jfbastien@apple.com, keith_miller@apple.com, sbarati@apple.com
</td>
</tr>
<tr>
<td style="text-align:right;">Depends on</td>
<td>
</td>
<td>165282
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - We should support more than one size register for WASM."
href="https://bugs.webkit.org/show_bug.cgi?id=162952#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - We should support more than one size register for WASM."
href="https://bugs.webkit.org/show_bug.cgi?id=162952">bug 162952</a>
from <span class="vcard"><a class="email" href="mailto:jfbastien@apple.com" title="JF Bastien <jfbastien@apple.com>"> <span class="fn">JF Bastien</span></a>
</span></b>
<pre>In <a class="bz_bug_link
bz_status_NEW "
title="NEW - WebAssembly: handle and optimize wasm export → wasm import calls"
href="show_bug.cgi?id=165282">bug #165282</a> 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>