<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 20, 2016, at 3:00 PM, vivek pandya via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_extra"><br class="Apple-interchange-newline"><br class=""><div class="gmail_quote">On Mon, Jun 20, 2016 at 10:05 PM, Sanjoy Das<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:sanjoy@playingwithpointers.com" target="_blank" class="">sanjoy@playingwithpointers.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">Hi Vivek,<span class=""><br class=""><br class="">vivek pandya wrote:<br class=""><br class="">> For Octane and Kraken I have run them 4 times and above result is<br class="">> geometric mean. For Octane standard deviation (SD) is<br class="">> 918.54 (NO_IPRA) and 597.82 (With_IPRA). For Kraken unfortunately I<br class="">> don't have readings any more but there was very<br class="">> minor change in each run. JetStream it self runs the test for 3<br class="">> times reports the result. From next time onwards I will<br class="">> run test at least for 10 times<br class=""><br class=""></span>Oh, no, I used "10 times" as an anecdotal number. Geomean of 4 times<br class="">is enough. Of course, if it does not take extra effort, running them<br class="">for more iterations is better, but don't bother if it will e.g. take<br class="">more than a trivial amount of manual work.<span class=""><br class=""><br class="">> It'd also be great to have a precise, non-measurement oriented view of<br class="">> the benchmarks.<br class="">><br class="">> I don't understand this point actually all these benchmarks are<br class="">> suggested by firefox-devs and they wanted the results back.<br class=""><br class=""></span>I was talking about the `-stats` bit there ^.<span class=""><br class=""><br class="">> Is it possible to collect some statistics on how much<br class="">> you've improved the register allocation in these workloads?<br class="">><br class="">> Actually while testing single source test case with debug build I<br class="">> used to compare results of -stats with regalloc<br class="">> keyword but while building such a huge software I prefer release<br class="">> build of llvm. And also I don't know if there is any<br class="">> way in llvm to generate stats for the whole build.<br class=""><br class=""></span>Can you do something quick and dirty, like just have some local<br class="">changes that dumps out some information on outs() ?</blockquote><div class="">Yes that should not take too much of time. </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><span class=""><br class=""><br class="">> Perhaps<br class="">> you could count the instances where you preserved a register over a<br class="">> call site that wouldn't have been possible without IPRA?<br class="">><br class="">> Yes this seems a good idea and I think this is implementable, after<br class="">> calculating new regmask when inserting data into<br class="">> immutable pass two regmasks can be compared to calculate<br class="">> improvements. I will work on this and let you know the progress.<br class=""><br class=""></span>Just to be clear: you don't *have* to do this (specifically, check<br class="">with your mentor before sinking too much time into this). But if we<br class="">can come up with easy to "confirm your kill" (i.e. ensure what you<br class="">think should happen is what is actually happening) then I think we<br class="">should do it.<br class=""></blockquote><div class="">I will try if this can be done in a simple way. I am sure mentors will welcome it.</div></div></div></div></div></blockquote><div><br class=""></div><div>Yes having more stats seems a nice thing to have.</div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_extra"><div class="gmail_quote"><div class="">-Vivek </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><br class="">Thanks, and best of luck!<span class="HOEnZb"><font color="#888888" class=""><br class="">-- Sanjoy<br class=""></font></span></blockquote></div><br class=""></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">LLVM Developers mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:llvm-dev@lists.llvm.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">llvm-dev@lists.llvm.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a></div></blockquote></div><br class=""></body></html>