Bugs in MIPS FUNCTION_ARG_REGNO_P ?
Eric Christopher
echristo@redhat.com
Wed Mar 3 07:38:00 GMT 2004
>
> What exactly do you believe to be correct? The macro implementation, or
> the statement that the O64 ABI does not use floating-point registers for
> arugment-passing?
>
I would have thought the macro was correct, but...
> The latter statement does not match what the rest of the compiler does
> -- compiling test programs with -mabi=o64 shows that $f12, $f13, $f14
> are are used for floating-point arguments, and there are comments to
> that effect in the code.
>
Yeah. And they should be used.
> So, I guess you believe the macro to be correct? I'm confused as to how
> that could be, since it seems never to return true for a floating-point
> register when using the O64 ABI.
>
> Well, perhaps Jim can shed some lite, as you say.
I'm trying to track down when the change was made to add mips_abi !=
ABI_O64. I really hope it wasn't me :) or maybe Jim can tell us that it
makes sense somehow - in some weird way.
-eric
--
Eric Christopher <echristo@redhat.com>
More information about the Gcc
mailing list