[LLVMbugs] [Bug 937] NEW: SelectionDAGLowering does not support frndint instruction (in inline asm)
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Oct 5 15:52:17 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=937
Summary: SelectionDAGLowering does not support frndint
instruction (in inline asm)
Product: libraries
Version: trunk
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: pmeredit at uiuc.edu
The problem is that frndint casts the top of the 8087 floating point stack to
an integer. I have been told the SelectionDAGLowering does not support the
8087 stack. This is fairly serious because frndint is included in math.h's
floor function, via inclusion through the system specific mathinlines.h. Thus,
any program that uses floor (from math.h) on an x86 platform will crash during
native codegen or JIT'ing.
------- 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