Displaying 3 results from an estimated 3 matches for "_s1ej_ret".
2010 Mar 16
1
[LLVMdev] Problems with custom calling convention on Mac OS X
...properly but interacts badly with the GHC calling convention. The
problem is the GHC calling convention uses unconventional registers for
argument passing. On x86-32 this is the four registers, ebx, ebp, esi,
edi. The 'alignstack' attribute causes the ebp register to be clobbered.
e.g
_s1eJ_ret:
## BB#0:
pushl %ebp
movl %esp, %ebp
andl $-16, %esp
subl $32, %esp
movl %ebp, 16(%esp) ## 4-byte Spill
[...]
movl 16(%esp), %eax ## 4-byte Reload
movl %edi, -4(%eax)
I'm not really sure what to do about this at the moment, will keep
investigati...
2010 Feb 12
0
[LLVMdev] Problems with custom calling convention on Mac OS X
David Terei wrote:
> Hi all,
>
> I'm working on using LLVM as a back-end for the Haskell GHC compiler. As
> part of that work I have modified LLVM to include a new custom calling
> convention for performance reasons as outlined previously in a
> conversation on this mailing list:
>
> http://nondot.org/sabre/LLVMNotes/GlobalRegisterVariables.txt
>
> This
2010 Feb 12
3
[LLVMdev] Problems with custom calling convention on Mac OS X
Hi all,
I'm working on using LLVM as a back-end for the Haskell GHC compiler. As
part of that work I have modified LLVM to include a new custom calling
convention for performance reasons as outlined previously in a
conversation on this mailing list:
http://nondot.org/sabre/LLVMNotes/GlobalRegisterVariables.txt
This custom calling convention on x86-32 needs to handle just 4
parameters,