[ARC] Update INSN_LENGTH_ALIGNMENT.
authorClaudiu Zissulescu <claziss@synopsys.com>
Thu, 13 Oct 2016 11:47:51 +0000 (13:47 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Thu, 13 Oct 2016 11:47:51 +0000 (13:47 +0200)
gcc/
2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change.

From-SVN: r241104

gcc/ChangeLog
gcc/config/arc/arc.h

index 8bfe53244f9d365396e28ddb25ffbf3cfe46d27e..708b322fac172dfe4d448b76ec94e6df94ceaca1 100644 (file)
@@ -1,3 +1,7 @@
+2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change.
+
 2016-10-13  Bin Cheng  <bin.cheng@arm.com>
 
        * tree-vect-loop.c (loop_niters_no_overflow): New func.
index c02e1cd4c77703bcf5f81a8273c86e87885e8845..b146f3a9a0535c5e430c43ec3677218fac27433b 100644 (file)
@@ -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