<p dir="ltr">Thanks! This is fine by me.</p>
<div class="gmail_quote">On Jun 19, 2015 5:10 PM, "Dan Gohman" <<a href="mailto:dan433584@gmail.com">dan433584@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jun 19, 2015 at 11:34 AM, Rafael EspĂndola<br>
<<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:<br>
> I am really happy to see this!<br>
><br>
> I just tried to build it with cmake and got some errors:<br>
><br>
> WebAssemblyInstPrinter.cpp:28:10: fatal error:<br>
> 'WebAssemblyGenAsmWriter.inc' file not found<br>
> WebAssemblyISelDAGToDAG.cpp:60:10: fatal error:<br>
> 'WebAssemblyGenDAGISel.inc' file not found<br>
<br>
Fixed now.<br>
<br>
> Do code models and relocation models have any meaning in webassembly?<br>
<br>
Ah, oops. Yes, WebAssembly doesn't need this (at least for now). I've<br>
now removed it.<br>
<br>
> Is SIMD an optional feature?<br>
<br>
Yes. There will be a few options, including using SIMD anyway, with<br>
emulation on platforms that don't actually have it, and dynamically<br>
querying whether SIMD is "fast" so that an application can decide what<br>
it wants to do.<br>
<br>
> Atomics? Is there a memory model? You mentioned that there is nothing<br>
> like C's undefined behavior...<br>
<br>
There will be full threading support with shared memory,<br>
synchronization primitives, and atomics. My earlier remark referred to<br>
undefined behavior in the C/C++ sense, in which the entire state of<br>
the program enters into jeopardy. With threads there is naturally some<br>
nondeterminsim, but the consequences of such nondeterminism have<br>
limits.<br>
<br>
> It is a bit funny that webassembly is an OS. Targeting web assembly<br>
> always implies the same apis, no?<br>
<br>
The meaning of the OS field in the target triple is usually about ABI<br>
concerns, rather than actual system call functionality. We're<br>
definitely planning for WebAssembly to have a common ABI when it comes<br>
time.<br>
<br>
Dan<br>
</blockquote></div>