summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/alpha.h
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 /gcc/config/alpha/alpha.h
parentc70f0ca26b5843498c2d1258865c77b1da545e27 (diff)
downloadgcc-d52c212f455688e7a30de9addf45ea4a84174367.tar.gz
alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro.
* config/alpha/alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro. From-SVN: r228693
Diffstat (limited to 'gcc/config/alpha/alpha.h')
-rw-r--r--gcc/config/alpha/alpha.h2
1 files changed, 1 insertions, 1 deletions
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. */