[LLVMbugs] [Bug 1033] bitcast between long and double on x86-64

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 5 10:23:53 PST 2006


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From sabre at nondot.org  2006-12-05 12:23 -------
The preferred fix for this is to expand it into movd/movq.  However, Evan is busy with other things, so 
this won't happen in the near term.  In the short-term, this patch gets us correct, but suboptimal (goes 
through memory) code:

Testcase here: CodeGen/X86/bitcast.ll


        subq $8, %rsp
        movsd %xmm0, (%rsp)
        movq (%rsp), %rax
        addq $8, %rsp
        subq $8, %rsp
        movq %rdi, (%rsp)
        movsd (%rsp), %xmm0
        addq $8, %rsp

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list