[LLVMbugs] [Bug 313] NEW: [x86] JIT miscompiles unsigned short to floating point
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Apr 6 12:28:58 PDT 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=313
Summary: [x86] JIT miscompiles unsigned short to floating point
Product: libraries
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: X86 Backend
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
Wow, this bug has been here for a LONG time. This is causing cfrac to fail with
the JIT, and maybe 'ed' as well.
The problem is that the X86 backend is emitting a movzx instruction from 8 to 16
bits instead of 16 to 32 bits. Because it puts the right registers into the
instruction, LLC works fine (one movzx is the same as another movzx), but the
encoding of the instructions are different, so it fails in the JIT.
-Chris
------- 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