From 9c29106490b2034be62de4c648fe622220e2670d Mon Sep 17 00:00:00 2001 From: pbrook Date: Fri, 30 Apr 2004 10:54:37 +0000 Subject: [PATCH] * arm.c (arm_needs_doubleword_align): Use mode alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81332 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 16 ++++++++++------ gcc/config/arm/arm.c | 7 ++----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1dcfcfb661..a972e93d6ea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-04-30 Paul Brook + + * arm.c (arm_needs_doubleword_align): Use mode alignment. + 2004-04-30 Paolo Bonzini * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to @@ -7,8 +11,8 @@ 2004-04-30 Uros Bizjak - * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near - atan2?f3 expanders. + * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near + atan2?f3 expanders. 2004-04-29 Nick Clifton @@ -20,10 +24,10 @@ 2004-04-30 Uros Bizjak - * reg-stack.c (subst_stack_regs_pat): : abort() if src1 dies. - : Same. - : Same. + * reg-stack.c (subst_stack_regs_pat): : abort() if src1 dies. + : Same. + : Same. 2004-04-29 Richard Guenther diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index cde2b27fb1c..f4a7ca77c85 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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)); } -- 2.11.4.GIT