From 58611c4f1fe9f0bbea7e5164cc420399f93d508d Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 13 Oct 2015 17:31:29 +0200 Subject: [PATCH] sparc.h (SPARC_STACK_ALIGN): Implement using ROUND_UP macro and UNITS_PER_WORD * 2. * config/sparc/sparc.h (SPARC_STACK_ALIGN): Implement using ROUND_UP macro and UNITS_PER_WORD * 2. * config/sparc/sparc.c (sparc_compute_frame_size): Use ROUND_UP and ROUND_DOWN macros where applicable. (function_arg_record_value, function_arg_record_value_1) (function_arg_record_value_1): Ditto. (emit_save_or_restore_regs): Use ROUND_DOWN to preserve offset alignment to double-word. (sparc_gimplify_va_arg): Use ROUND_UP to calculate rsize. (sparc_emit_probe_stack_range): Use ROUND_DOWN to calculate rounded_size. From-SVN: r228769 --- gcc/ChangeLog | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 15d0c125972..57a2854f2fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +2015-10-12 Uros Bizjak + + * config/sparc/sparc.h (SPARC_STACK_ALIGN): Implement using + ROUND_UP macro and UNITS_PER_WORD * 2. + * config/sparc/sparc.c (sparc_compute_frame_size): + Use ROUND_UP and ROUND_DOWN macros where applicable. + (function_arg_record_value, function_arg_record_value_1) + (function_arg_record_value_1): Ditto. + (emit_save_or_restore_regs): Use ROUND_DOWN to preserve offset + alignment to double-word. + (sparc_gimplify_va_arg): Use ROUND_UP to calculate rsize. + (sparc_emit_probe_stack_range): Use ROUND_DOWN to calculate + rounded_size. + 2015-10-13 Tom de Vries * tree-parloops.c (reduction_phi): Handle cases that gimple_uid is 0 or @@ -84,7 +98,7 @@ * tree-ssa-threadbackward.c (get_gimple_control_stmt): New function. (fsm_find_control_stmt_paths): Change name of first argument to more accurately relfect what it really is. Handle simplification - of GIMPLE_COND after finding a thread path for NAME. + of GIMPLE_COND after finding a thread path for NAME. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Allow nontrivial conditions to be handled by FSM threader. (thread_through_normal_block): Extract the name to looup via -- 2.30.2