[LLVMdev] Best way to interface with MSVC _ftol2 runtime function for fptoui?

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Jan 20 14:10:28 PST 2012


On Jan 20, 2012, at 1:58 PM, Joe Groff wrote:

> The integer runtime functions (_allmul, _alldiv, etc. for 64-bit
> integer arithmetic) all appear to be straight-up stdcall. _ftol2 is
> the only weird one. (There is an _ftol routine with the same calling
> convention as _ftol2, but AFAIK it's only for backward compatibility
> with older MSVC runtimes.) I'm far from an MSVC expert, though.

Thanks.

> Are there any docs for X86FloatingPoint?

X86FloatingPoint.cpp with comments is all you get.

/jakob




More information about the llvm-dev mailing list