<div dir="ltr"><p class="MsoNormal">Hi Eric,</p><p class="MsoNormal"><br></p><p class="MsoNormal">Attachments show the experiment results I did on A57. I
tried 10, 20 ,30 ,40 and 50 as loop buffer size and applied my runtime prologue
simplification patch(<a href="http://reviews.llvm.org/D5147" target="_blank"><span style="font-size:10pt;font-family:Arial,sans-serif">http://reviews.llvm.org/D5147</span></a>). Then I collect execution
time, geomean code bloat and max code bloat at difference loop buffer size.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">So considering getting more performance improvement with an <span style="font-size:10pt;font-family:Arial,sans-serif">acceptable<span class=""> </span>code
bloat, setting loop buffer size as 20 is a good choice. Maybe it’s a little conservative,
but there’s not much performance improvement from increasing it to 30 or 40, and
have to fix a huge code bloat at a larger loop buffer size which is not </span><span style="font-family:Arial,sans-serif;font-size:13.63636302947998px">acceptable</span><span class="" style="font-family:Arial,sans-serif;font-size:13.63636302947998px"> at -O2 and below optimizaiton level.</span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif"><br></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif">Thanks,</span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif">Kevin</span></p></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-25 9:05 GMT+01:00 James Molloy <span dir="ltr"><<a href="mailto:james@jamesmolloy.co.uk" target="_blank">james@jamesmolloy.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Eric,<div><br></div><div>Thanks for sharing the link. I'm afraid I can't comment on microarchitectural details, but I don't think 32 would be correct for A57.</div><div><br></div><div>Kevin has much data and many graphs, hopefully he'll be sharing them soon! :)</div><div><br></div><div>Cheers,</div><div><br></div><div>James</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 24 September 2014 22:17, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span>On Mon, Sep 22, 2014 at 10:10 AM, Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>> wrote:<br>
> Looks like the chip itself has a 32 entry loop buffer (with 2 forward and one backward branch support). What range of values did you check here? (i.e. why is 32 not the right value to put here like with the other port specific constants?)<br>
><br>
<br>
</span>FYI just wanted to mention where I got this information which may not<br>
be correct - it seems to have it down as a clone of the A15 and isn't<br>
representative of the actual silicon here.<br>
<br>
<a href="http://pc.watch.impress.co.jp/video/pcw/docs/614/543/08p.pdf" target="_blank">http://pc.watch.impress.co.jp/video/pcw/docs/614/543/08p.pdf</a><br>
<br>
for the first bit, which looks like it's based on this article:<br>
<br>
<a href="http://pc.watch.impress.co.jp/docs/column/kaigai/20121031_569691.html" target="_blank">http://pc.watch.impress.co.jp/docs/column/kaigai/20121031_569691.html</a><br>
<br>
If we're just going to go with a heuristics based approach, it might<br>
be nice to show some samples/graphs and definitely comment that in the<br>
code with how it was determined.<br>
<span><font color="#888888"><br>
-eric<br>
</font></span></div></div><span class=""><div><div>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Best Regards,<div><br></div><div>Kevin Qin</div></div>
</div>