From d4fe8839e67af87b08658d5a1c18098f6289a175 Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Thu, 13 Oct 2016 13:47:51 +0200 Subject: [PATCH] [ARC] Update INSN_LENGTH_ALIGNMENT. gcc/ 2016-10-13 Claudiu Zissulescu * config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change. From-SVN: r241104 --- gcc/ChangeLog | 4 ++++ gcc/config/arc/arc.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8bfe53244f9..708b322fac1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-10-13 Claudiu Zissulescu + + * config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change. + 2016-10-13 Bin Cheng * tree-vect-loop.c (loop_niters_no_overflow): New func. diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index c02e1cd4c77..b146f3a9a05 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -1546,10 +1546,10 @@ extern int arc_return_address_regs[4]; #define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \ ASM_OUTPUT_ALIGN ((FILE), ADDR_VEC_ALIGN (TABLE)); -#define INSN_LENGTH_ALIGNMENT(INSN) \ - ((JUMP_P (INSN) \ +#define INSN_LENGTH_ALIGNMENT(INSN) \ + ((JUMP_TABLE_DATA_P (INSN) \ && GET_CODE (PATTERN (INSN)) == ADDR_DIFF_VEC \ - && GET_MODE (PATTERN (INSN)) == QImode) \ + && GET_MODE (PATTERN (INSN)) == QImode) \ ? 0 : length_unit_log) /* Define if operations between registers always perform the operation -- 2.30.2