PR2076

Dale Johannesen dalej@apple.com
Wed Apr 25 17:05:00 GMT 2001


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.



More information about the Gcc mailing list