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> 2004-04-30 Paolo Bonzini <bonzini@gnu.org>
* config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to
...@@ -7,8 +11,8 @@ ...@@ -7,8 +11,8 @@
2004-04-30 Uros Bizjak <uros@kss-loka.si> 2004-04-30 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.md (atansf2, atandf2, atanxf2): Move near * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near
atan2?f3 expanders. atan2?f3 expanders.
2004-04-29 Nick Clifton <nickc@redhat.com> 2004-04-29 Nick Clifton <nickc@redhat.com>
...@@ -20,10 +24,10 @@ ...@@ -20,10 +24,10 @@
2004-04-30 Uros Bizjak <uros@kss-loka.si> 2004-04-30 Uros Bizjak <uros@kss-loka.si>
* reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS,
UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies. UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies.
<UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same. <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same.
<UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same. <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same.
2004-04-29 Richard Guenther <richard.guenther@uni-tuebingen.de> 2004-04-29 Richard Guenther <richard.guenther@uni-tuebingen.de>
......
...@@ -2318,11 +2318,8 @@ arm_init_cumulative_args (CUMULATIVE_ARGS *pcum, tree fntype, ...@@ -2318,11 +2318,8 @@ arm_init_cumulative_args (CUMULATIVE_ARGS *pcum, tree fntype,
bool bool
arm_needs_doubleword_align (enum machine_mode mode, tree type) arm_needs_doubleword_align (enum machine_mode mode, tree type)
{ {
return (mode == DImode return (GET_MODE_ALIGNMENT (mode) > PARM_BOUNDARY
|| mode == DFmode || (type && TYPE_ALIGN (type) > PARM_BOUNDARY));
|| VECTOR_MODE_SUPPORTED_P (mode)
|| (mode == BLKmode
&& 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