From d52c212f455688e7a30de9addf45ea4a84174367 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 11 Oct 2015 17:41:17 +0200 Subject: [PATCH] alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro. * config/alpha/alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro. From-SVN: r228693 --- gcc/ChangeLog | 12 ++++++++---- gcc/config/alpha/alpha.h | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3cc9c5c0fce..b39d6a5a1ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-10-11 Uros Bizjak + + * config/alpha/alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro. + 2015-10-11 Segher Boessenkool PR rtl-optimization/67864 @@ -106,7 +110,7 @@ * config/mips/mips.c (mips_compute_frame_info): Check optimize_call_stack flag. (mips_option_override): Register new frame_header_opt pass. - (mips_frame_info, mips_int_mask, mips_shadow_set, + (mips_frame_info, mips_int_mask, mips_shadow_set, machine_function): Move these types to... * config/mips/mips.h: here. (machine_function): Add does_not_use_frame_header and @@ -199,9 +203,9 @@ 2015-10-09 Ramana Radhakrishnan - PR target/67366 - * config/arm/arm.md (movmisalign): New. - * config/arm/iterators.md (HSI): New. + PR target/67366 + * config/arm/arm.md (movmisalign): New. + * config/arm/iterators.md (HSI): New. 2015-10-09 Richard Biener diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 3fb58b11b0d..668b2620dc3 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -615,7 +615,7 @@ extern int alpha_memory_latency; { FRAME_POINTER_REGNUM, HARD_FRAME_POINTER_REGNUM}} /* Round up to a multiple of 16 bytes. */ -#define ALPHA_ROUND(X) (((X) + 15) & ~ 15) +#define ALPHA_ROUND(X) ROUND_UP ((X), 16) /* Define the offset between two registers, one to be eliminated, and the other its replacement, at the start of a routine. */ -- 2.30.2