<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Renato, </div><div><br></div><div>I am sorry for the delay in response. Thanks for running the benchmarks. Yi Jiang helped me to run some benchmarks and we got similar results. I noticed a single regression above 5% (5.5% in ClamAV). I am seeing much fewer performance gains on ARMv7s. I suppose that the vector codegen support on x86 is more mature. I will follow your suggestion and enable it by default only for -O3.</div><div><br></div><div>Thanks,</div><div>Nadav</div><div>   </div><br><div><div>On Jul 30, 2013, at 4:39 PM, Renato Golin <<a href="mailto:renato.golin@linaro.org">renato.golin@linaro.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 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;"><div dir="ltr">Nadav,<div><br></div><div>I ran some benchmarks and I'm seeing 3-6% performance loss on a few of them when we use SLP on both O2 and O3 (with O3 having the biggest differences).</div><div><br></div><div>Unfortunately, my benchmarking is not scientific, so I can't vow for those numbers, nor I'll have time to investigate it closer in the short term, but I wouldn't be surprised if this is result of extra shuffles we were seeing a few months back on the BB-Vect. This means that we could maybe trim that off (later) by fixing two or three bugs and (fingers crossed) making those shuffles go away.</div><div><br></div><div>I'm trying to set up a task to compare the most important compile options (including all three vectorizers) on all optimization levels, but that's not going to happen any time soon, so don't take my word for it. If I'm the only one with bad numbers, I'm sure we can fix the issues later if you do introduce the SLP into O3 now.</div><div><br></div><div>Though, I would like to wait a bit more for O2 and Os, because I can't also vow for its correctness, since we don't have buildbots with the SLP on, nor on O2,, and O2 is more or less the "fast, but still stable" state that people prefer to compile production code. </div><div><br></div><div>Turn it on on O3, let's see how the bots behave, lets get a few data points and have a bit more information on its state.</div><div><br></div><div>cheers,</div><div>--renato</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 July 2013 21:07, Jim Grosbach<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:grosbach@apple.com" target="_blank">grosbach@apple.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br><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; position: static; z-index: auto;"><div style="word-wrap: break-word;">Cool. Thanks!<span class="HOEnZb"><font color="#888888">-Jim</font></span><div><div class="h5"><br><div><div>On Jul 29, 2013, at 1:07 PM, Renato Golin <<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>> wrote:</div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div dir="ltr">On 29 July 2013 20:39, Jim Grosbach<span> </span><span dir="ltr"><<a href="mailto:grosbach@apple.com" target="_blank">grosbach@apple.com</a>></span><span> </span>wrote:<br><div class="gmail_extra"><div class="gmail_quote"><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;"><div style="word-wrap: break-word;">These results are really excellent. They’re on Intel, I assume, right? What do the ARM numbers look like? Before enabling by default, we should make sure that the results are comparable there as well.<br></div></blockquote><div></div></div><br></div><div class="gmail_extra">Hi Jim,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'll have a look.</div><div class="gmail_extra"><br></div><div class="gmail_extra">--renato</div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></blockquote></div><br></body></html>