<div dir="ltr">Hi Renato,<div><br></div><div>As I replied last time, I've investigated the regressions and got the reason. For runtime unrolling, the optimization itself is not a conservative method which can always bring improvement. So no matter how to improve the algorithm, there must be some regressions if we have a prologue for checking the loop count. And it's hard to get improved because nearly all useful informations are not decided at compiling time. So if we want to fix the regression, we have to guess those runtime information by some <font color="#500050" face="arial, sans-serif">heuristic way. Maybe it works for some cases, but also may reduce the improvment on others.</font></div><div><font color="#500050" face="arial, sans-serif"><br></font></div><div><font color="#500050" face="arial, sans-serif">Thanks,</font></div><div><font color="#500050" face="arial, sans-serif">Kevin</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-09 11:45 GMT+01:00 Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 9 September 2014 10:23, Kevin Qin <<a href="mailto:kevinqindev@gmail.com">kevinqindev@gmail.com</a>> wrote:<br>
> 401_bzip2 101.71% (126.37%)<br>
> 450_soplex 100.67% (135.32%)<br>
<span class="">> 177_mesa 103.54% (151.85%)<br>
> 253_perlbmk 101.15% (110.19%)<br>
> 164_gzip   100.86% (128.13%)<br>
> 256_bzip2 100.62% (135.00%)<br>
<br>
</span>Hi Kevin,<br>
<br>
Even with the geomean being positive, I wouldn't think those<br>
regressions are acceptable. I know it's impossible to not have<br>
regressions when changing performance tuning and that all those<br>
benchmarks are synthetic and all that, but having that many, that bad,<br>
is sign that there is something (things?) wrong with the overall<br>
assumption.<br>
<br>
cheers,<br>
--renato<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Best Regards,<div><br></div><div>Kevin Qin</div></div>
</div>