This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR2076
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: PR2076
- From: Dale Johannesen <dalej at apple dot com>
- Date: Wed, 25 Apr 2001 17:05:10 -0700
- Cc: Richard Henderson <rth at redhat dot com>, Geoff Keating <geoffk at geoffk dot org>, gcc at gcc dot gnu dot org
On Wednesday, April 25, 2001, at 04:32 PM, David Edelsohn wrote:
>>>>>> Richard Henderson writes:
>
> Richard> Where is "one" placed when calling the function
>
> Richard> void foo(double one, ...);
>
> FP arguments are passed in both the FPR argument registers and
> GPR argument registers. "one" is passed in fpr1 and gpr3/gpr4 pair.
> "two" is passed in fpr2 and gpr5/gpr6 pair (for 32-bit mode code, one
> GPR
> for 64-bit code).
Does anyone know of a good reason to put "two" in fpr2? The callee code
does not look there for it.