This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH] PPC: Correct SYSV ABI libcall handling
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 Jun 2003 23:06:09 +0200
- Subject: Re: PATCH] PPC: Correct SYSV ABI libcall handling
- References: <200306172048.QAA31302@makai.watson.ibm.com>
On Tuesday 17 June 2003 22:48, David Edelsohn wrote:
> >>>>> Franz Sirl writes:
>
> Franz> Well, I've talked with rth on IRC about this, and if I recall
> correctly that Franz> would be a _very_ invasive change (due to the way
> FUNCTION_ARG is currently Franz> used) and instead he wanted me to get rid
> of libcalls altogether and generate Franz> them like any other call. That
> is, however, totally out of the timeframe I Franz> can spend on GCC. So I
> went with the simplest solution I could think of.
>
> What concerns me is the divergent use of "type" for different
> ABIs. With your change, ABI_V4 does not use it, but ABI_AIX does.
Where did ABI_AIX ever use it for the mode == VOIDmode case? This is only used
on ABI_V4, cause only ABI_V4 needs to set/clear a CR bit to signal a vararg
callee if FP args where passed (at least I don't know of a similar
requirement for ABI_AIX).
Franz.