This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bugs in MIPS FUNCTION_ARG_REGNO_P ?
- From: Eric Christopher <echristo at redhat dot com>
- To: mark at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org, wilson at specifixinc dot com
- Date: Tue, 02 Mar 2004 23:01:47 -0800
- Subject: Re: Bugs in MIPS FUNCTION_ARG_REGNO_P ?
- References: <200403030305.i2335S8S028779@sirius.codesourcery.com>
On Tue, 2004-03-02 at 19:05, Mark Mitchell wrote:
> Eric --
>
> If I read this correctly:
>
> #define FUNCTION_ARG_REGNO_P(N) \
> ((IN_RANGE((N), GP_ARG_FIRST, GP_ARG_LAST) \
> || (IN_RANGE((N), FP_ARG_FIRST, FP_ARG_LAST) \
> && ((N) % FP_INC == 0) && mips_abi != ABI_O64)) \
> && !fixed_regs[N])
>
> it says that floating-point registers are never used for
> argument-passing in the O64 ABI. That doesn't seem right.
It's been that way for quite some time. I believe it to be correct,
however, Jim would know best if he remembers.
-eric
--
Eric Christopher <echristo@redhat.com>