Commit eef5d0d1 by Richard Sandiford Committed by Richard Sandiford

mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument…

mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument is double-word aligned.

	* config/mips/mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to
	decide whether an argument is double-word aligned.

From-SVN: r92182
parent 0022b96a
2004-12-15 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to
decide whether an argument is double-word aligned.
2004-12-15 Richard Henderson <rth@redhat.com> 2004-12-15 Richard Henderson <rth@redhat.com>
* config/i386/i386.md: Fix missing modes on cmove splitters. * config/i386/i386.md: Fix missing modes on cmove splitters.
......
...@@ -3136,9 +3136,7 @@ mips_arg_info (const CUMULATIVE_ARGS *cum, enum machine_mode mode, ...@@ -3136,9 +3136,7 @@ mips_arg_info (const CUMULATIVE_ARGS *cum, enum machine_mode mode,
} }
/* See whether the argument has doubleword alignment. */ /* See whether the argument has doubleword alignment. */
doubleword_aligned_p = (type doubleword_aligned_p = FUNCTION_ARG_BOUNDARY (mode, type) > BITS_PER_WORD;
? TYPE_ALIGN (type) > BITS_PER_WORD
: GET_MODE_UNIT_SIZE (mode) > UNITS_PER_WORD);
/* Set REG_OFFSET to the register count we're interested in. /* Set REG_OFFSET to the register count we're interested in.
The EABI allocates the floating-point registers separately, The EABI allocates the floating-point registers separately,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment