Displaying 1 result from an estimated 1 matches for "fltuse".
Did you mean:
fluse
2010 Sep 18
0
[LLVMdev] Where to emit an undefined fltused symbol if floating point is used?
...it and running
it on Windows I've discovered a major problem with COFF emission. Any
test that uses floating point instructions currently fails with the
integrated assembler with:
runtime error R6002
- floating point support not loaded
A quick look with nm shows that MSVC emits an undefined __fltused
symbol if _any_ floating point instructions are used. I think this is
required for the kernel to save the floating point registers, and thus
the Microsoft C runtime complains if you use floating point without
__fltused.
The attached code duplicates this failure when compiled with (on Windows):
%...