Displaying 3 results from an estimated 3 matches for "argutment".
Did you mean:
argument
2004 Aug 22
0
[LLVMdev] conditionally reduced intrinsics
> Ok, I am developing an intrinsic instruction and I have the codegen
> working (and tested). However, some of the more complex cases of the
> intrinsic are reducable to LLVM + simpler cases of the intrinsic. How
> would I go about conditionally reducing the intrinsic? I could deal
> with the issue in the codegen, but that gets ugly quickly.
>
> Andrew
I suppose you could
2004 Aug 22
2
[LLVMdev] conditionally reduced intrinsics
Ok, I am developing an intrinsic instruction and I have the codegen
working (and tested). However, some of the more complex cases of the
intrinsic are reducable to LLVM + simpler cases of the intrinsic. How
would I go about conditionally reducing the intrinsic? I could deal
with the issue in the codegen, but that gets ugly quickly.
Andrew
-------------- next part --------------
A non-text
2004 Aug 22
2
[LLVMdev] conditionally reduced intrinsics (llvm.syscall)
...with codegen for linux/x86. It seemed a missing peice in
having a pure llvm compiled userland (mostly, being able to have a full
bytecode glibc).
On x86, syscalls with 5 and few args are passed in registers, but for
>6, all args (except syscall number) go in a memory block passed as the
first argutment. I wasn't sure if when I generate code I could safely
manipulate the stack pointer (that it was gaurentied to be correct) at
the point I was inserting instructions. If so, then I can add the >6
case directly to the codegen.
Anyway, attached is some sample assembly output from a simple te...