Re: [PATCH, rs6000] ELFv2 ABI preparation: Refactor rs6000_function_arg

2013-11-13 Thread David Edelsohn
* config/rs6000/rs6000.c (rs6000_psave_function_arg): New function. (rs6000_finish_function_arg): Likewise. (rs6000_function_arg): Use rs6000_psave_function_arg and rs6000_finish_function_arg to handle both vector and floating point arguments that are also passed in GPRs / the stack. This is okay,

[PATCH, rs6000] ELFv2 ABI preparation: Refactor rs6000_function_arg

2013-11-11 Thread Ulrich Weigand
Hello, another patch in preparation for the new ABI. When calling a function in the absence of a prototype, we need to pass arguments that are normally passed in floating-point or vector registers also on the stack and/or in GPRs. The code currently handling this in rs6000_function_arg is implem