<br>The original numbers are the same as what are given here. As the lli -O0 - O3 is virtually the same as before if adaptive compilation is not enabled. <div><br></div><div><br></div><div>Thanks </div><div><br></div><div>
Xin </div><div><br><div class="gmail_quote">On Mon, Jul 4, 2011 at 11:17 AM, James Molloy <span dir="ltr"><<a href="mailto:james.molloy@arm.com">james.molloy@arm.com</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-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Xin,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">What were the original numbers before adaptive compilation?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Cheers,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">James<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><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">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:llvm-commits-bounces@cs.uiuc.edu" target="_blank">llvm-commits-bounces@cs.uiuc.edu</a> [mailto:<a href="mailto:llvm-commits-bounces@cs.uiuc.edu" target="_blank">llvm-commits-bounces@cs.uiuc.edu</a>] <b>On Behalf Of </b>Xin Tong Utoronto<br>
<b>Sent:</b> 04 July 2011 16:14<br><b>To:</b> <a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br><b>Subject:</b> [llvm-commits] [llvm jit adaptive-compilation] : Adaptive compilation framework x86 Patch<u></u><u></u></span></p>
</div></div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi All<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">This patch is intended to provide support for LLVM JIT adaptive compilation on x86 platforms. The implementation of the adaptive compilation framework is one of the Google Summer of Code 2011 projects (<a href="http://www.google-melange.com/gsoc/project/google/gsoc2011/timexerox/8001" target="_blank"><span style="color:windowtext">http://www.google-melange.com/gsoc/project/google/gsoc2011/timexerox/8001</span></a>).  The patch is created against the LLVM branch below. It is currently reviewed by Eric Christoper@Apple and will be applied to the LLVM branch (<a href="https://echristo/" target="_blank"><span style="color:windowtext">https://echristo</span></a>@<a href="http://llvm.org/svn/llvm-project/llvm/branches/GSoC/adaptive-compilation" target="_blank"><span style="color:windowtext">llvm.org/svn/llvm-project/llvm/branches/GSoC/adaptive-compilation</span></a>). But more eyes are definitely welcome. Originally, the LLVM adaptive compilation framework was intended to be applied to LLVM head stream, but due to concerns regarding the upcoming major changes on ExecutionEngine and MCJIT. it is now worked in a branch and hopefully applied to the head stream once the MCJIT changes have been completed.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u><span style="font-size:14.0pt">This patch involves changes to </span></u><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">include/llvm/Target/TargetJITInfo.h<u></u><u></u></p>
<p class="MsoNormal">lib/Target/X86/X86JITInfo.h<u></u><u></u></p><p class="MsoNormal">lib/Target/X86/X86JITInfo.cpp<u></u><u></u></p><p class="MsoNormal">lib/Target/ARM/ARMJITInfo.h<u></u><u></u></p><p class="MsoNormal">
lib/Target/ARM/ARMJITInfo.cpp<u></u><u></u></p><p class="MsoNormal">lib/Target/PowerPC/PPCJITInfo.h<u></u><u></u></p><p class="MsoNormal">lib/Target/PowerPC/PPCJITInfo.cpp<u></u><u></u></p><p class="MsoNormal">lib/ExecutionEngine/JIT/JITEmitter.cpp<u></u><u></u></p>
<p class="MsoNormal">lib/ExecutionEngine/JIT/JIT.h<u></u><u></u></p><p class="MsoNormal">lib/ExecutionEngine/JIT/JIT.cpp<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><u><span style="font-size:14.0pt">This was tested on x86 and x86-64 under Ubuntu with</span></u><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">llvm test-suite<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><u><span style="font-size:14.0pt">There were no regressions for the O0 - O3 JIT compilation. Additionally, adaptive compilation currently gives better performance numbers than O1 - O3 as shown.</span></u><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">lli -O0<u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Total Time is 1068.37<u></u><u></u></p><p class="MsoNormal">lli -O1<u></u><u></u></p>
<p class="MsoNormal">Total Time is 1395.68<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">lli -O2<u></u><u></u></p><p class="MsoNormal">Total Time is 1394.81<u></u><u></u></p><p class="MsoNormal">
 <u></u><u></u></p><p class="MsoNormal">lli -O3<u></u><u></u></p><p class="MsoNormal">Total Time is 1395.76<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">lli -adaptive-comp<u></u><u></u></p>
<p class="MsoNormal">Total Time is 1119.23<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Thank You<u></u><u></u></p><p class="MsoNormal">Xin Tong <u></u><u></u></p>
</div></div></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Kind Regards <br><br>Xin Tong <br>
</div>