search for: elfspec_ppc

Displaying 4 results from an estimated 4 matches for "elfspec_ppc".

2007 Feb 12
1
[LLVMdev] Linux/ppc backend
Hi Jim, I didn't use any documents, but intensively looked at gcc's output. I think this document: http://refspecs.freestandards.org/elf/elfspec_ppc.pdf is the last specification of the ABI. Cheers, Nicolas Jim Laskey wrote: > Nicolas, > > Would you point me to the Linux/PPC ABI documents you are using so I > can better judge what your restrictions are? These changes also have > an effect on debugging and exception handling...
2007 Apr 02
2
[LLVMdev] Declaration of a va_list should be an intrinsic?
...es is just a pointer to the stack. The va_start intrinsic just initializes where the pointer points at in the stack. I do not know how the other backends operate, but I suppose it's the same. However, on the PPC/ELF ABI, a va_list is a struct (referring to http://refspecs.freestandards.org/elf/elfspec_ppc.pdf) of 12 bytes allocated on stack. The struct *should* not be allocated by va_start because a va_copy would not know if the struct is allocated or not. Therefore, I think there should be a special intrinsic for declaring a va_list. This unfortunately requires changes to all backends, but i do no...
2007 Feb 02
0
[LLVMdev] Linux/ppc backend
Nicolas, Would you point me to the Linux/PPC ABI documents you are using so I can better judge what your restrictions are? These changes also have an effect on debugging and exception handling. Cheers, -- Jim On 2-Feb-07, at 08:58 AM, Nicolas Geoffray wrote: > Hi everyone, > > I have almost completed the implementation of a linux/ppc backend > in llvm. There were a few
2007 Feb 02
5
[LLVMdev] Linux/ppc backend
Hi everyone, I have almost completed the implementation of a linux/ppc backend in llvm. There were a few things to modify in lib/Target/PowerPC with a lot of "if (!isDarwin)". There are some places where I need help before saying the port is complete. I attached the diff file as a reference 1) In order to generate a creqv instruction before a vararg call, I created a new