aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2015-10-11 17:41:17 +0200
committerUros Bizjak <uros@gcc.gnu.org>2015-10-11 17:41:17 +0200
commitd52c212f455688e7a30de9addf45ea4a84174367 (patch)
tree34cc06b3b0a99657d83a8597bb06d5e900296d34
parentc70f0ca26b5843498c2d1258865c77b1da545e27 (diff)
downloadgcc-d52c212f455688e7a30de9addf45ea4a84174367.zip
gcc-d52c212f455688e7a30de9addf45ea4a84174367.tar.gz
gcc-d52c212f455688e7a30de9addf45ea4a84174367.tar.bz2
alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro.
* config/alpha/alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro. From-SVN: r228693
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/config/alpha/alpha.h2
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3cc9c5c..b39d6a5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-11 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/alpha/alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro.
+
2015-10-11 Segher Boessenkool <segher@kernel.crashing.org>
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 <ramana.radhakrishnan@arm.com>
- PR target/67366
- * config/arm/arm.md (movmisalign<mode>): New.
- * config/arm/iterators.md (HSI): New.
+ PR target/67366
+ * config/arm/arm.md (movmisalign<mode>): New.
+ * config/arm/iterators.md (HSI): New.
2015-10-09 Richard Biener <rguenther@suse.de>
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 3fb58b1..668b262 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. */