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

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 4 09:58:42 PST 2006


http://llvm.org/bugs/show_bug.cgi?id=1033

           Summary: bitcast between long and double on x86-64
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: djg at cray.com


On x86-64 a bitcast from long to double or double to long results triggers an
llc abort. Among other things, this comes up in the expansion of copysign.

long %p(double %t) {
  %u = bitcast double %t to long
  ret long %u
}

double %q(long %t) {
  %u = bitcast long %t to double
  ret double %u
}

With llc -march=x86-64, this gets

Cannot yet select: 0x8813318: f64 = bit_convert 0x88135c8



------- 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