aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rx
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-13 13:33:09 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-13 13:33:09 +0000
commit9d05e48d26abcee8fafaf3c71b9f305b38777bfb (patch)
tree781dd254e7b6dc480040f81a5f648c7ffb996418 /gcc/config/rx
parentaaa5a5101886ee852179319c22fdabf2f9fe8df8 (diff)
* config/rx/rx.h (JUMP_ALIGN): Return the log value if user
requested alignment is active. (LABEL_ALIGN): Likewise. (LOOP_ALIGN): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211638 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rx')
-rw-r--r--gcc/config/rx/rx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rx/rx.h b/gcc/config/rx/rx.h
index 209518c6d38..050ac68dc8e 100644
--- a/gcc/config/rx/rx.h
+++ b/gcc/config/rx/rx.h
@@ -433,9 +433,9 @@ typedef unsigned int CUMULATIVE_ARGS;
/* Compute the alignment needed for label X in various situations.
If the user has specified an alignment then honour that, otherwise
use rx_align_for_label. */
-#define JUMP_ALIGN(x) (align_jumps ? align_jumps : rx_align_for_label (x, 0))
-#define LABEL_ALIGN(x) (align_labels ? align_labels : rx_align_for_label (x, 3))
-#define LOOP_ALIGN(x) (align_loops ? align_loops : rx_align_for_label (x, 2))
+#define JUMP_ALIGN(x) (align_jumps > 1 ? align_jumps_log : rx_align_for_label (x, 0))
+#define LABEL_ALIGN(x) (align_labels > 1 ? align_labels_log : rx_align_for_label (x, 3))
+#define LOOP_ALIGN(x) (align_loops > 1 ? align_loops_log : rx_align_for_label (x, 2))
#define LABEL_ALIGN_AFTER_BARRIER(x) rx_align_for_label (x, 0)
#define ASM_OUTPUT_MAX_SKIP_ALIGN(STREAM, LOG, MAX_SKIP) \