<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;"><br><div><div>On Nov 25, 2013, at 10:22 PM, Sean Silva <<a href="mailto:silvas@purdue.edu">silvas@purdue.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 25, 2013 at 4:48 PM, Jim Grosbach <span dir="ltr"><<a href="mailto:grosbach@apple.com" target="_blank">grosbach@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>A few select examples I’m seeing are: 256.bzip2 improves by 7%. 401.bzip2 improves by 4.5%. 300.twolf improves by 3%. 186.crafty improves by 4%. The details vary, but this is true for both Ivy Bridge and Haswell in particular.</div>
<div><br></div></div></div></blockquote><div><br></div><div>Hmm... on second thought, do these programs use lots of i16's? Agner reports that on Ivy Bridge and Haswell there is no partial register access cost for the i8 low subregs. He doesn't seem to mention anything about 16-bit, so I assume that the partial register stall is still there for the i16 subregs??? I don't have an Ivy Bridge or Haswell to test on unfortunately :(</div></div></div></div></blockquote><div><br></div>I'm pretty sure 16-bit instructions has the 0x66 prefix, which incurs additional code size cost. I'm also fairly certain that 16-bit instructions has some general performance issues (see Intel optimization guide, if I remember correctly), which is why LLVM x86 target generally avoids them.</div><div><br></div><div>Evan</div><div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div><br></div><div>-- Sean Silva </div></div></div></div>
_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br></blockquote></div><br></body></html>