<div class="gmail_quote">On 11 March 2012 04:35, Sean Cavanaugh <span dir="ltr"><<a href="mailto:WorksOnMyMachine@gmail.com">WorksOnMyMachine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 3/10/2012 8:08 PM, Mantis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Tuple!(float, float) callee() {<br>
do something to achieve result in st0,st1<br>
fst st0, st1 into stack<br>
load stack values into EAX, EDX<br>
ret<br>
}<br>
<br>
void caller() {<br>
call callee()<br>
push EAX, EDX into a stack<br>
fld stack values into st0, st1<br>
do something with st0, st1<br>
}<br>
<br>
As opposed to:<br>
<br>
Tuple!(float, float) callee() {<br>
do something to achieve result in st0,st1<br>
ret<br>
}<br>
<br>
void caller() {<br>
call callee()<br>
do something with st0, st1<br>
}<br>
<br>
Is there something I miss here?<br>
</blockquote>
<br></div>
Yes, the fact the FPU stack is deprecated :)<br>
</blockquote></div><br><div>Don't dismiss the point, the same still stands true with XMM regs.</div>