<div dir="ltr"><div class="gmail_extra"><div><span style="font-family:arial,sans-serif;font-size:13px">Thank you for the explanation. </span><div style="font-family:arial,sans-serif;font-size:13px">I finally found out about the ABI of the SPARC v8 and some explanation here : <a href="http://www.sics.se/~psm/sparcstack.html" target="_blank">http://www.sics.se/~psm/sparcstack.html</a></div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">It says clearly that the local register are "assumed by caller to be preserved across a procedure call", which would imply that I cannot modify it like this without turning the window. And then it makes sense that the output or global register can be safely used.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Before we were happily breaching the ABI! Shame on us.</div></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Another small question, Gedare posted an example using the o0 register and adding it in the clobber list. However when trying to compile there is an error. Seem like I cannot have only a clobbered register without at least one input or output, is this as expected or should I be able to add only a clobber list?</div>

</div></div>