<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 2, 2018 at 3:31 PM Anton Korobeynikov <<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Yes, I am compiling for linux system.<br>
> So the RA will not consider assigning a scratch register to a live range crossing function call, though it may reduce spills?<br>
Well, it has to spill the register – otherwise it could be clobbered by a call. </blockquote><div>May be, I haven't conveyed it properly. What I mean was, does the RA make an analysis of spills incurred by <i>using a scratch register and spilled/restored across the call site</i> and <i>by not using the scratch register at all </i>?</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-- <br>
With best regards, Anton Korobeynikov<br>
Department of Statistical Modelling, Saint Petersburg State University<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_8488647995744607738m_-8044540290044063309gmail_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>