search for: kuskin

Displaying 10 results from an estimated 10 matches for "kuskin".

2009 Feb 12
6
[LLVMdev] fastcc, tail calls, and gcc
...is: c3 ret I assume the "ret 0x8" is meant to be the "callee pops args" portion of the fastcc convention, but in this case the function has no arguments (nor a return value), so why should 8 bytes be popped from the stack on return? Thanks for any help. -- Jeff Kuskin
2009 Feb 12
0
[LLVMdev] fastcc, tail calls, and gcc
Jeff Kuskin wrote: > Correct? If not, how do I call a LLVM JIT-generated fastcc function > from a function statically compiled by GCC? Well, you can always generate a little wrapper function with C calling convention which just calls the fastcc function. -- Dr. Albert Gr"af Dept. of Music-Inform...
2009 Jan 28
1
[LLVMdev] Newbie question: Getting info about JIT-compiled function
Andrew Haley wrote: > Jeff Kuskin wrote: > > Apologies if this is a FAQ. > > > > I am using the LLVM JIT facility on an x86_64 platform. I generate > > IR for a single function using IRBuilder(), use the > > FunctionPassManager to do some optimization passes, and then call > > ExecutionEngine::g...
2009 Feb 12
1
[LLVMdev] fastcc, tail calls, and gcc
On Feb 12, 2009, at 3:23 PM, Albert Graef wrote: > Jeff Kuskin wrote: >> Correct? If not, how do I call a LLVM JIT-generated fastcc function >> from a function statically compiled by GCC? > > Well, you can always generate a little wrapper function with C calling > convention which just calls the fastcc function. You can do a quick bit of...
2009 Mar 02
2
[LLVMdev] Multiple copies of each mailing-list message?
Is anyone else receiving multiple (typically 2 or 3) copies of each mailing list message? -- Jeff
2009 Jan 27
1
[LLVMdev] Newbie question: Getting info about JIT-compiled function
...have any routines for printing the disassembly of a native code function? I see that lli can do this, but I would much prefer an LLVM library routine that I can call from my own code rather than having to write the bitcode to a file and then invoke lli. Suggestions? Thanks for any help! -- Jeff Kuskin
2009 Feb 12
0
[LLVMdev] fastcc, tail calls, and gcc
On Thu, Feb 12, 2009 at 5:34 PM, Jeff Kuskin <jk500500 at yahoo.com> wrote: > Two related questions. > (2) Why does the x86-64 JIT backend generate a "ret $0x8" instruction > to return from a fastcc function that is (a) marked as fastcc > (CallingConv::Fast); but (b) takes no arguments and returns 'void'?...
2014 Aug 01
2
[LLVMdev] BR_CC questions
I am implementing a new backend and am pretty sure I don't quite understand "the way" one is supposed to implement conditional branches. My target CPU natively supports a conditional branch instruction that accepts a condition to test (equal, less than, etc.), two operands (two registers, or one register and one immediate), and finally a target PC to branch to if the comparison
2009 Feb 13
1
[LLVMdev] fastcc, tail calls, and gcc
Albert Graef wrote: > Jeff Kuskin wrote: >> Correct? If not, how do I call a LLVM JIT-generated fastcc function >> from a function statically compiled by GCC? > > Well, you can always generate a little wrapper function with C calling > convention which just calls the fastcc function. > I use the fastcall...
2010 Apr 27
1
[LLVMdev] llvm-2.7: --with-udis86 failure
Debug build on x86_64 with`--with-udis86=<path>' option to 'configure' seems broken. Configure command line: ./configure --disable-optimized --enable-assertions --enable-debug-runtime --enable-debug-symbols --enable-jit --enable-pic --enable-targets=x86_64 --with-udis86=/somepath/udis86/udis86-1.7 At least 2 issues: (1) '-L/somepath/udis86/udis86-1.7' is added to the