search for: pr1064

Displaying 2 results from an estimated 2 matches for "pr1064".

Did you mean: pr106
2007 Jan 14
0
[LLVMdev] Inserting an assembly instruction in the calling sequence of the powerpc target
...kes a single register operand (in this case, CR6). 2. At call lowering time, flag this into the call sequence. 3. At ISel time, turn this into creq reg,reg,reg > After this is implemented, I will be able to send a patch for linux/ppc > support. Nice. This will also resolve http://llvm.org/PR1064 > I also need to know what is your preference for a linux/ppc target > implementation? I can either > 1) Use macros (#ifdef __MACH__ for darwin or #ifdef __PPC__ for linux) This won't work for cross compiles. > 2) Test the target in the code when needed > if (os == linux &am...
2007 Jan 12
2
[LLVMdev] Inserting an assembly instruction in the calling sequence of the powerpc target
Hi all, I'm currently implementing a linux/ppc target in llvm. The abis between Darwin/ppc and linux/ppc are different and I'm running into problems with vararg calls. Before a variadic method is called, an extra instruction must be executed (which is creqv 6, 6, 6). This instruction is not necessary in Darwin/ppc. I looked into the PowerPC target implementation and the code generation