<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 29, 2016 at 12:56 PM, Joerg Sonnenberger via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> 2. The memset-2.ll tests look quite awkward in the way they splat the byte value into an XMM reg; imul isn't generally cheap.<br>
<br>
</span>It isn't?<br></blockquote><div><br></div><div>imul is usually a 3-4 cycle latency op. Given that we're going to do some kind of vector shuffle op anyway, we could probably have just used some other splatting shuffle and completely avoided the splat via imul? <br></div><div><br><br> </div></div></div></div>