This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Bugs in MIPS FUNCTION_ARG_REGNO_P ?
- From: Mark Mitchell <mark at codesourcery dot com>
- To: echristo at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 2 Mar 2004 19:05:28 -0800
- Subject: Bugs in MIPS FUNCTION_ARG_REGNO_P ?
- Reply-to: mark at codesourcery dot com
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.
Am I failing to parse the parentheses correctly?
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com