Commit 65a939f7 by Paul Brook

* arm.c (arm_needs_doubleword_align): Use mode alignment.

From-SVN: r81332
parent 0bf87ea5
2004-04-30 Paul Brook <paul@codesourcery.com>
* arm.c (arm_needs_doubleword_align): Use mode alignment.
2004-04-30 Paolo Bonzini <bonzini@gnu.org>
* config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to
......
......@@ -2318,11 +2318,8 @@ arm_init_cumulative_args (CUMULATIVE_ARGS *pcum, tree fntype,
bool
arm_needs_doubleword_align (enum machine_mode mode, tree type)
{
return (mode == DImode
|| mode == DFmode
|| VECTOR_MODE_SUPPORTED_P (mode)
|| (mode == BLKmode
&& TYPE_ALIGN (type) > PARM_BOUNDARY));
return (GET_MODE_ALIGNMENT (mode) > PARM_BOUNDARY
|| (type && TYPE_ALIGN (type) > PARM_BOUNDARY));
}
......
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