Kristaps Straupe
2010-Feb-02 15:37 UTC
[LLVMdev] __fixunsdfdi and etc with Visual Studio JIT?
Hello! 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? Thank you, Kristaps.
On Tue, Feb 2, 2010 at 7:37 AM, Kristaps Straupe <kstraupe at gmail.com> wrote:> Hello! > > 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 sequence. -Eli
Possibly Parallel Threads
- [LLVMdev] __fixunsdfdi and etc with Visual Studio JIT?
- [LLVMdev] jit X86 target compilation callback bug
- [LLVMdev] llvm interpreter cannot execute llvm-gcc generated bitcode
- [LLVMdev] llvm interpreter cannot execute llvm-gcc generated bitcode
- [LLVMdev] llvm interpreter cannot execute llvm-gcc generated bitcode