<div dir="ltr">WebAssembly has been enabled on Linux ports in <a href="https://trac.webkit.org/changeset/213450">https://trac.webkit.org/changeset/213450</a>.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br>Yusuke Suzuki</div></div></div></div>
<br><div class="gmail_quote">On Sun, Mar 5, 2017 at 6:24 PM, Yusuke SUZUKI <span dir="ltr"><<a href="mailto:utatane.tea@gmail.com" target="_blank">utatane.tea@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">The patch enabling WASM on Linux is ready.</div><div class="gmail_quote"><a href="https://bugs.webkit.org/show_bug.cgi?id=164032" target="_blank">https://bugs.webkit.org/show_<wbr>bug.cgi?id=164032</a><br></div><div><div class="h5"><div class="gmail_quote"><br></div><div class="gmail_quote">On Thu, Mar 2, 2017 at 2:55 AM, Andrea Giammarchi <span dir="ltr"><<a href="mailto:andrea.giammarchi@gmail.com" target="_blank">andrea.giammarchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="m_-3161855851679763351gmail-">> <span style="font-size:12.8px">AFAIU Zero is based on 32-bit ARM, and WASM requires B3 that is 64-bit only.</span><div><span style="font-size:12.8px"><br></span></div></span><div><span style="font-size:12.8px">performance for the already performant, seems legit :D</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I didn't know this precious detail, thanks a lot for the info!</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Never mind my previous email.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Best Regards</span></div></div><div class="m_-3161855851679763351gmail-HOEnZb"><div class="m_-3161855851679763351gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 1, 2017 at 5:16 PM, Konstantin Tokarev <span dir="ltr"><<a href="mailto:annulen@yandex.ru" target="_blank">annulen@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
01.03.2017, 20:10, "Andrea Giammarchi" <<a href="mailto:andrea.giammarchi@gmail.com" target="_blank">andrea.giammarchi@gmail.com</a>>:<br>
<span>> Chiming in, it'd be awesome to be able to test WASM on 2.16 behind a flag, I'm targeting mostly SBC including Raspberry Pi 0 where WebKitGTK+ already works like a charm (enabling WebGL and with HW accelerated layers) but I can't compare performance against WASM and building from scratch targeting Pi Zero ain't the easiest thing to do.<br>
<br>
</span>AFAIU Zero is based on 32-bit ARM, and WASM requires B3 that is 64-bit only.<br>
<div><div class="m_-3161855851679763351gmail-m_3804632017412249034h5"><br>
><br>
> Thanks for eventual consideration.<br>
><br>
> On Wed, Mar 1, 2017 at 4:57 PM, Yusuke SUZUKI <<a href="mailto:utatane.tea@gmail.com" target="_blank">utatane.tea@gmail.com</a>> wrote:<br>
>> On Thu, Mar 2, 2017 at 1:36 AM, Saam Barati <<a href="mailto:sbarati@apple.com" target="_blank">sbarati@apple.com</a>> wrote:<br>
>>> On Mar 1, 2017, at 7:46 AM, Michael Catanzaro <<a href="mailto:mcatanzaro@igalia.com" target="_blank">mcatanzaro@igalia.com</a>> wrote:<br>
>>><br>
>>>> On Wed, 2017-03-01 at 15:44 +0100, Carlos Garcia Campos wrote:<br>
>>>> We have recently branched for 2.16 so it's a perfect moment to enable<br>
>>>> it in trunk with very little risk.<br>
>>>><br>
>>>> Is Apple planning to enable it within the next six months? If so, now<br>
>>>> is indeed the ideal time to enable it for WebKitGTK+.<br>
>>><br>
>>> What do you mean by enable it? It's been on by default on the Mac port for a while now and has been in the various STP releases.<br>
>>><br>
>>> I think it's a good idea to enable it on other ports too. Note that Keith is currently working on a patch to make loads faster in Wasm. It may require some OS specific handling to run well on Linux: <a href="https://bugs.webkit.org/show_bug.cgi?id=162693" rel="noreferrer" target="_blank">https://bugs.webkit.org<wbr>/show_bug.cgi?id=162693</a><br>
>><br>
>> Awesome! I think enabling WASM on Linux after landing Keith's faster memory access patch (by using SEGV signal handling instead of bound checking) is good.<br>
>> Once that patch is implemented and landed, we can start implementing platform-specific part of that (extracting instruction pointer from mcontext_t and signal handling part should be implemented for Linux).<br>
>> I think that should be easy (since retrieving instruction pointer from mcontext_t is already once implemented for sampling profiler. Thus, we can share / re-implement the same thing for that).<br>
>><br>
>>>> If not, then I'd prefer to wait until it's going to be enabled in the<br>
>>>> macOS port.<br>
>>>><br>
>>>> Michael<br>
>>>> ______________________________<wbr>_________________<br>
>>>> jsc-dev mailing list<br>
>>>> <a href="mailto:jsc-dev@lists.webkit.org" target="_blank">jsc-dev@lists.webkit.org</a><br>
>>>> <a href="https://lists.webkit.org/mailman/listinfo/jsc-dev" rel="noreferrer" target="_blank">https://lists.webkit.org/mailm<wbr>an/listinfo/jsc-dev</a><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> webkit-gtk mailing list<br>
>> <a href="mailto:webkit-gtk@lists.webkit.org" target="_blank">webkit-gtk@lists.webkit.org</a><br>
>> <a href="https://lists.webkit.org/mailman/listinfo/webkit-gtk" rel="noreferrer" target="_blank">https://lists.webkit.org/mailm<wbr>an/listinfo/webkit-gtk</a><br>
</div></div>> ,<br>
<div class="m_-3161855851679763351gmail-m_3804632017412249034HOEnZb"><div class="m_-3161855851679763351gmail-m_3804632017412249034h5">><br>
> ______________________________<wbr>_________________<br>
> webkit-gtk mailing list<br>
> <a href="mailto:webkit-gtk@lists.webkit.org" target="_blank">webkit-gtk@lists.webkit.org</a><br>
> <a href="https://lists.webkit.org/mailman/listinfo/webkit-gtk" rel="noreferrer" target="_blank">https://lists.webkit.org/mailm<wbr>an/listinfo/webkit-gtk</a><br>
<br>
<br>
</div></div><span class="m_-3161855851679763351gmail-m_3804632017412249034HOEnZb"><font color="#888888">-- <br>
Regards,<br>
Konstantin<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>