Displaying 2 results from an estimated 2 matches for "a30febcb".
2007 Jul 03
2
[LLVMdev] Swaps of FP registers
Dear guys,
what is the best way to implement a swap of floating point registers
in X86? For the integer registers, I am using xchg. Is there a similar
instruction for floating point?
My function to insert swaps is like:
void X86RegisterInfo::swapRegs(
MachineBasicBlock & mbb,
MachineBasicBlock::iterator mi,
unsigned r1,
unsigned r2,
const TargetRegisterClass
2007 Jul 04
0
[LLVMdev] Swaps of FP registers
...point?
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070703/a30febcb/attachment.html>