aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rx/rx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rx/rx.h')
-rw-r--r--gcc/config/rx/rx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/rx/rx.h b/gcc/config/rx/rx.h
index f9ea209..14b13d9 100644
--- a/gcc/config/rx/rx.h
+++ b/gcc/config/rx/rx.h
@@ -630,3 +630,10 @@ typedef unsigned int CUMULATIVE_ARGS;
#define REGISTER_MOVE_COST(MODE,FROM,TO) 2
#define SELECT_CC_MODE(OP,X,Y) rx_select_cc_mode(OP, X, Y)
+
+#define ADJUST_INSN_LENGTH(INSN,LENGTH) \
+ do \
+ { \
+ (LENGTH) = rx_adjust_insn_length ((INSN), (LENGTH)); \
+ } \
+ while (0)