[LLVMdev] __fixunsdfdi and etc with Visual Studio JIT?
eli.friedman at gmail.com
Tue Feb 2 08:16:12 PST 2010
On Tue, Feb 2, 2010 at 7:37 AM, Kristaps Straupe <kstraupe at gmail.com> wrote:
> We are running bitcode with JIT on visual studio project and we get
> strange external function call problems (jit generates jump to
> 00000000 address as can be seen in debugger) for libgcc functions like
> __fixunsdfdi, __divdi3 etc. Currently we have attached our own
> implementations of these functions to overcome this problem. What
> would be the correct way to do this on Visual Studio? Why does JIT
> generate such function calls at all instead of native code that
> executes needed operation?
x86-32 doesn't natively support, for example, 64-bit division; the
call replaces what would otherwise be a very long replacement
More information about the llvm-dev