<div dir="ltr">Hi Craig,<div><br></div><div>The test case is from spec-17.</div><div><br></div><div><div><div>The attached is the assembly file for the function MeanShiftImage from spec17/538.imagick_r/src/magick/feature.c.<div>As I was saying, registers XMM10-15 are not used.</div></div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 25, 2018 at 2:16 PM Dangeti Tharun kumar <<a href="mailto:cs15mtech11002@iith.ac.in">cs15mtech11002@iith.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div dir="ltr">It can be reproduced with the following command:<div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">clang -S -I spec17/benchspec/CPU/538.imagick_r/src/ -O3 -mavx spec17/benchspec/CPU/538.imagick_r/src/magick/feature.c -DMAGICKCORE_HDRI_ENABLE</pre><pre style="white-space:pre-wrap"><font color="#000000"><font face="arial, helvetica, sans-serif">I don't see any register above <b>xmm9</b> been used in any function.</font></font></pre></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 25, 2018 at 10:44 AM Craig Topper <<a href="mailto:craig.topper@gmail.com" target="_blank">craig.topper@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Can you provide an example?<div><br clear="all"><div><div dir="ltr" class="m_-6381692223217005043m_421471599995058675gmail_signature" data-smartmail="gmail_signature">~Craig</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 24, 2018 at 9:52 PM Dangeti Tharun kumar via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I see that, in Greedy register allocation not all the XMM registers are used(even there is a need) if there is a function call crossing the live range.</div><div>There are spills which can be avoided just by using them.</div><div><br></div><div>The reason I see is the CCC declares XMMs are not callee saved. This means they are caller saved, correct me if I am wrong.</div><div>Is the greedy RA intentionally not using XMMs in order to avoid saving and restoring regs at call site?</div><div><br></div><div><div><br></div>-- <br><div dir="ltr" class="m_-6381692223217005043m_421471599995058675m_8164118419566646360gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Regards,</div><div>DTharun</div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-6381692223217005043gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Regards,</div><div>DTharun</div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Regards,</div><div>DTharun</div></div></div></div></div></div></div></div>