<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Wingdings 2";
        panose-1:5 2 1 2 1 5 7 7 7 7;}
@font-face
        {font-family:"Courier New CYR";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="RU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Nadav,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Here the unformatted patch with functional changes only attached.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Yuri<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Nadav Rotem [mailto:nrotem@apple.com]
<br>
<b>Sent:</b> Monday, June 17, 2013 9:36 PM<br>
<b>To:</b> Veselov, Yuri<br>
<b>Cc:</b> llvm-commits@cs.uiuc.edu<br>
<b>Subject:</b> Re: vector data types support in the LLVM interpreter part 3<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Yuri, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Please send the patch without the formatting changes.  All of the formatting changes make it impossible to review.  After the functional changes go in we can re-format it. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Nadav<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Jun 17, 2013, at 10:31 AM, "Veselov, Yuri" <<a href="mailto:Yuri.Veselov@intel.com">Yuri.Veselov@intel.com</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">Hi</span><span style="font-size:11.0pt;font-family:Consolas">,</span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas"> </span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">This is the third part of code which implements vector support for LLVM interpreter.</span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">Intel uses the interpreter to create a validation tool chain for OpenCL compilers (see<span class="apple-converted-space"> </span></span><span style="font-size:11.0pt;font-family:Consolas"><a href="http://llvm.org/devmtg/2013-04/#talk10"><span lang="EN-US" style="color:windowtext">http://llvm.org/devmtg/2013-04/#talk10</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">)</span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas"> </span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">This patch implements vector support for operations for<span class="apple-converted-space"> </span></span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas">cast
 operations (zext, sext, uitofp, sitofp, trunc, fpext, fptosi, fptrunc, bitcast) and shift operations (shl, ashr, lshr) for</span><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas"> </span></span><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">integer
 and floating point data types and tests.</span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas"> </span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">The<span class="apple-converted-space"> </span></span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas">clang-format (with –style=LLVM) has been run over the
 code, so patch includes the changes made by this tool as well.</span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas">Patch was implemented on llvm trunk and patched trunk has been built by clang.</span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas"> </span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas"> </span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">Thanks,</span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">Yuri</span><span style="font-size:10.5pt;font-family:Consolas"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div style="margin-left:8.5pt">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;color:navy">Best regards,</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div style="margin-left:8.5pt">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;color:navy">Yuri Veselov</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div style="margin-left:8.5pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:navy">INNL, Nizhny Novgorod, Russia</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div style="margin-left:8.5pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Wingdings 2";color:purple">'</span><i><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:navy">+7(831)</span></i><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR";color:navy">296</span></b><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:navy">-9</span></b><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR";color:navy">4</span></b><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:navy">-</span></b><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New CYR";color:navy">44</span></b><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:navy">;</span></b><i><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:navy">ext.</span></i><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:navy">2307</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div style="margin-left:8.5pt">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:Wingdings;color:purple">*</span></b><span style="font-size:10.0pt;font-family:"Courier New";color:navy"><a href="mailto:Yuri.Veselov@Intel.com"><span style="color:purple">Yuri.Veselov@Intel.com</span></a></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<p><br>
--------------------------------------------------------------------<br>
Closed Joint Stock Company Intel A/O<br>
Registered legal address: Krylatsky Hills Business Park,<span class="apple-converted-space"> </span><br>
17 Krylatskaya Str., Bldg 4, Moscow 121614,<span class="apple-converted-space"> </span><br>
Russian Federation<o:p></o:p></p>
<p>This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.<o:p></o:p></p>
<p class="MsoNormal"><interpreter_patch_3.patch><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p><br>
--------------------------------------------------------------------<br>
Closed Joint Stock Company Intel A/O<br>
Registered legal address: Krylatsky Hills Business Park, <br>
17 Krylatskaya Str., Bldg 4, Moscow 121614, <br>
Russian Federation</p>

<p>This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.</p></body>
</html>