On 7/3/07, <b class="gmail_sendername">Fernando Magno Quintao Pereira</b> <<a href="mailto:fernando@cs.ucla.edu">fernando@cs.ucla.edu</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
     what is the best way to implement a swap of floating point registers<br>in X86? For the integer registers, I am using xchg. Is there a similar<br>instruction for floating point?</blockquote><div><br>FXCH swaps stN with st0, but you'd have to use memory for arbitrary swaps I believe. I have no idea if it's the "best" though.
<br><br></div></div>