<div dir="ltr"><div>A few things that we discussed at the EuroLLVM meeting:</div><ul><li>It would be useful to have numbers generated with the same method but comparing A32 to GCC, to see what performance difference is "inherent" to LLVM's architecture-independent optimizations, and which are actual ARM64 shortcomings due to its immaturity compared to A32.<br>
</li><li>SPEC2k6 may be a better measure since 2k often can be gamed or fits in cache.</li></ul><div>The conclusion at EuroLLVM was that the ARM64 vs Aarch64 numbers after patching were acceptable. It seems to still be the case?</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 1:58 PM, Ana Pazos <span dir="ltr"><<a href="mailto:apazos@codeaurora.org" target="_blank">apazos@codeaurora.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Gerolf,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sorry for the delayed response. I had to get permission to share more details. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I am allowed to share relative numbers but not absolute numbers.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Any missing test is due to runtime failures (e.g., gcc failure due to the fused multiply pattern bug which Tim fixed later on).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ana.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<table border="1" cellspacing="0" cellpadding="0" width="804" style="width:6.7in;border-collapse:collapse;border:none"><tbody><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Benchmarks<u></u><u></u></span></b></p></td><td width="176" valign="top" style="width:105.7pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">ARM64 vs GCC 4.9 %<u></u><u></u></span></b></p></td><td width="195" valign="top" style="width:117.0pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">ARM64 vs AArch64 %<u></u><u></u></span></b></p></td><td width="248" valign="top" style="width:148.5pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">ARM64 vs AArch64 patched %<u></u><u></u></span></b></p></td></tr><tr><td width="804" colspan="4" valign="top" style="width:6.7in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">SPEC 2000<u></u><u></u></span></b></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">art<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-10<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-5<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-1<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">bzip2<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-3<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">5<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">5<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">crafty<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-5<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">1<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">3<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">gap<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-8<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">1<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">2<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">gzip<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">0<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">4<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">3<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">mcf<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-2<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-1<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-1<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">mesa<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-15<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-3<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-1<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">parser<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-10<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-2<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">4<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">perlbmk<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">5<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">7<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">5<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">vortex<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-3<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-6<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-4<u></u><u></u></span></p></td></tr><tr><td width="185" valign="top" style="width:111.2pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">vpr<u></u><u></u></span></p></td><td width="176" valign="top" style="width:105.7pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-15<u></u><u></u></span></p></td><td width="195" valign="top" style="width:117.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-1<u></u><u></u></span></p></td><td width="248" valign="top" style="width:148.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">0<u></u><u></u></span></p></td></tr></tbody></table><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Gerolf Hoflehner [mailto:<a href="mailto:ghoflehner@apple.com" target="_blank">ghoflehner@apple.com</a>] <br>
<b>Sent:</b> Tuesday, April 08, 2014 4:46 PM<br><b>To:</b> Ana Pazos<br><b>Cc:</b> Tim Northover; LLVM Developers Mailing List</span></p><div><div class="h5"><br><b>Subject:</b> Re: [LLVMdev] Proposal: AArch64/ARM64 merge from EuroLLVM<u></u><u></u></div>
</div><p></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi Ana,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">could you share the SPEC2000 data per suite and per benchmark?<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks<u></u><u></u></p></div><div><p class="MsoNormal">Gerolf<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><div>
<p class="MsoNormal">On Apr 8, 2014, at 1:33 AM, Ana Pazos <<a href="mailto:apazos@codeaurora.org" target="_blank">apazos@codeaurora.org</a>> wrote:<u></u><u></u></p></div><p class="MsoNormal"><br><br><u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi folks,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">As Tim pointed out, we recently had the opportunity to collect 64-bit benchmark performance data for GCC 4.9, AArch64 and ARM64 compilers on a real hardware. It is a cortex-a53 device. Due to proprietary reasons we cannot share the full hardware configuration.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">The preliminary results were shared at the hackers lab at EuroLLVM yesterday. For those who could not make it, below is the summarized performance data.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">A positive number means the ARM64 run is better by the number %. A negative number means the baseline (GCC 4.9 or AArch64) is better by the number %.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Tuning of AArch64 backend on this processor has not been completely done yet (some initial work has started on modeling cortex-a53). But we quickly investigated the bad vectorized code in some of the tests (Linpack for example) and identified straightforward fixes that improved AArch64 performance (similar patches are present in ARM64, e.g. loop unroll default limit, unaligned memory accesses, etc.). These patches are going to the AArch64 commits list for review.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">This experiment indicates that from the point of view of correctness and performance either ARM64 or AArch64 could be the base compiler of choice if the known correctness issues (in ARM64) and lack of performance tuning (in AArch64) are addressed.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">However much more work has to be done to catch up with GCC 4.9 middle-end and backend optimizations.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><table border="0" cellspacing="0" cellpadding="0" width="915" style="width:548.7pt;border-collapse:collapse">
<tbody><tr><td width="264" valign="top" style="width:158.55pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Benchmark</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</td><td width="185" valign="top" style="width:111.15pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt"><p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">ARM64 vs GCC 4.9 %</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</td><td width="203" valign="top" style="width:121.5pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt"><p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">ARM64 vs AArch64  %</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</td><td width="263" valign="top" style="width:157.5pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt"><p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">ARM64 vs AArch64 patched %</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</td></tr><tr><td width="264" valign="top" style="width:158.55pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">EEMBC (no consumer) geomean</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="185" valign="top" style="width:111.15pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-17</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td><td width="203" valign="top" style="width:121.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">1</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="263" valign="top" style="width:157.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-2</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td></tr>
<tr><td width="264" valign="top" style="width:158.55pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">EEMBC (consumer only) geomean</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="185" valign="top" style="width:111.15pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-21</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td><td width="203" valign="top" style="width:121.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-2</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="263" valign="top" style="width:157.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-5</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td></tr>
<tr><td width="264" valign="top" style="width:158.55pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Linpack Double</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="185" valign="top" style="width:111.15pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-29</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td><td width="203" valign="top" style="width:121.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">45</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="263" valign="top" style="width:157.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-1</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td></tr>
<tr><td width="264" valign="top" style="width:158.55pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Linpack Single</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="185" valign="top" style="width:111.15pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-51</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td><td width="203" valign="top" style="width:121.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">40</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="263" valign="top" style="width:157.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">1</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td></tr>
<tr><td width="264" valign="top" style="width:158.55pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">SPEC2000 geomean</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="185" valign="top" style="width:111.15pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-6</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td><td width="203" valign="top" style="width:121.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">0</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div></td><td width="263" valign="top" style="width:157.5pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">1</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p></div></td></tr>
</tbody></table><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Thanks,<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Ana.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">-----Original Message-----<br>From: <a href="mailto:llvmdev-bounces@cs.uiuc.edu" target="_blank">llvmdev-bounces@cs.uiuc.edu</a> [<a href="mailto:llvmdev-bounces@cs.uiuc.edu" target="_blank">mailto:llvmdev-bounces@cs.uiuc.edu</a>] On Behalf Of Tim Northover<br>
Sent: Tuesday, April 08, 2014 12:04 AM<br>To: LLVM Developers Mailing List<br>Subject: Re: [LLVMdev] Proposal: AArch64/ARM64 merge from EuroLLVM<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi again,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">In my original message I was attempting to summarise the key arguments as I saw them. Other points came up in the discussion, which Ana kindly recorded and I'll summarise here:<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">First, extra arguments brought up in favour of each backend (I'll mention duplicates too so that the list is as complete as possible):<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ Register class usage in ARM64 is cleaner.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ FastISel is on ARM64, but not AArch64. Some TableGen work will be<u></u><u></u></span></p></div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">needed to enable it because of how patterns are written there.<u></u><u></u></span></p></div><div><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ There is no macro support in AArch64.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ Both NEON syntax variants (general & iOS) are supported by ARM64 now.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ ARM64 assumes neon enabled by default, and indeed has no notion that<u></u><u></u></span></p></div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">a CPU might not have NEON. Instructions will need to be predicated to check NEON is present and probably some corresponding .cpp changes where it was also assumed.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ Inline asm is possibly better in ARM64.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ Anecdotal evidence suggests it's easier to debug MC layer issues on<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">ARM64 than on AArch64.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Other important points that we discussed:<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ We need to setup a buildbot for performance using some real hardware<u></u><u></u></span></p></div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">(volunteers with hardware?) so patches can be validated in the supported targets. And also for correctness using qemu.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ Google is working on a framework to build and run benchmarks – to be<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">available soon? And should enable the buildbot setup from item above.<u></u><u></u></span></p></div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">+ We need to sort out differences between cortex-a53 and Cyclone model<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">descriptions (both use the new approach for MI scheduler, but one requires annotating instructions and the other does not). We should pin down Andy and get him to describe the perfect machine model.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Cheers.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Tim<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">_______________________________________________<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">LLVM Developers mailing list<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank"><span style="color:windowtext;text-decoration:none">LLVMdev@cs.uiuc.edu</span></a>        <span> </span><a href="http://llvm.cs.uiuc.edu/" target="_blank"><span style="color:windowtext;text-decoration:none">http://llvm.cs.uiuc.edu</span></a><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank"><span style="color:windowtext;text-decoration:none">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</span></a><u></u><u></u></span></p>
</div><p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif"">_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank"><span style="color:purple">LLVMdev@cs.uiuc.edu</span></a><span> </span>        <a href="http://llvm.cs.uiuc.edu/" target="_blank"><span style="color:purple">http://llvm.cs.uiuc.edu</span></a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank"><span style="color:purple">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</span></a><u></u><u></u></span></p></div></div><p class="MsoNormal">
<u></u> <u></u></p></div></div></div></div></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>