<div dir="ltr"><div class="gmail_default" style><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif"><font color="#000000">Hello,<br></font></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif">
<div><font color="#000000"><br></font></div><div><font color="#000000">Background:</font></div><div><font color="#000000">We (the Portable Native Client team) would like to continue upstreaming</font></div><div><font color="#000000">our LLVM modifications which contain support for Software Fault</font></div>
<div><font color="#000000">Isolation (SFI) as required for sandboxing programs to run under</font></div><div><font color="#000000">Native Client. Since the "total patch size" is quite big, we are</font></div><div>
<font color="#000000">splitting the effort to manageable chunks that can be committed,</font></div><div><font color="#000000">tested and reviewed separately as independently as feasible.</font></div><div><font color="#000000"><br>
</font></div><div><font color="#000000">Eli has recently landed the changes we needed for instruction bundling</font></div><div><font color="#000000">and alignment.  Thanks to those of you who provided reviews </font>and</div>
<div>suggestions for improvement.</div><div><font color="#000000"><br></font></div><div><font color="#000000">The next step:</font></div><div><font color="#000000">The second portion that we would like to upstream is in preparation</font></div>
<div><font color="#000000">for our x86-64 Native Client changes.  In particular, our ABI is</font></div><div><font color="#000000">dependent on the existence of an ILP32 ABI on x86-64. The</font></div><div><font color="#000000">conventions we rely on are the same as those developed for the</font></div>
<div><font color="#000000">x32 effort, and we propose that the community begin reviewing</font></div><div><font color="#000000">changes to implement the x32 ABI.  It should also be noted that the</font></div><div><font color="#000000">x32 ABI is already supported by binutils, gcc, and glibc, and that</font></div>
<div><font color="#000000">the Native Client team hopes to host its changes there on top of</font></div><div><font color="#000000">x32 as well.</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Our proposal is that the community ratify the idea of supporting</font></div>
</div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif"><font color="#000000">the x32 ABI and that the Native Client team start by defining the</font></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif">
<font color="#000000">variables/flags/etc., to allow selecting the x32 ABI in LLVM.  We</font></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif"><font color="#000000">are aware of the previous set of patches posted to this list for x32,</font></div>
<div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif"><font color="#000000">and will be as consistent with that direction as possible.</font></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif">
<div><font color="#000000"><br></font></div><div><font color="#000000">For background, the x8-64 Native Client model is described in</font></div><div><a href="http://src.chromium.org/viewvc/native_client/data/site/NaCl_SFI.pdf" target="_blank"><font color="#0b5394">http://src.chromium.org/viewvc/native_client/data/site/NaCl_SFI.pdf</font></a></div>
<div><font color="#000000">x32 is described at <a href="https://sites.google.com/site/x32abi/" target="_blank">https://sites.google.com/site/x32abi/</a></font></div></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif">
<font color="#000000">The previous set of patches was sent attached to</font></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif"><a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120604/144037.html" target="_blank"><font color="#0b5394">http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120604/144037.html</font></a></div>
<div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif"><br></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif">Cheers,</div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif">
<br></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial,helvetica,sans-serif">David</div></div></div>