From: amylaar Date: Thu, 10 Sep 2015 09:19:52 +0000 (+0000) Subject: 2015-09-10 Claudiu Zissulescu X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c2596d71b02ed527e1f098f44aed29694da2dab;p=thirdparty%2Fgcc.git 2015-09-10 Claudiu Zissulescu * config/arc/arc.md (length): Fix attribute length for conditional executed instructions with long immediate. (posted as: https://gcc.gnu.org/ml/gcc/2015-03/msg00268.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227626 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d32e483d8120..17b46e78631d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-10 Claudiu Zissulescu + + * config/arc/arc.md (length): Fix attribute length for conditional + executed instructions with long immediate. + 2015-09-10 Kyrylo Tkachov * config/aarch64/aarch64.md (*and3nr_compare0): Use logics_imm diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index 931f9a187038..cfc4d325e984 100644 --- a/gcc/config/arc/arc.md +++ b/gcc/config/arc/arc.md @@ -337,9 +337,13 @@ (match_test "GET_CODE (PATTERN (insn)) == COND_EXEC") (const_int 4)] (const_int 2)) - (eq_attr "iscompact" "true_limm,maybe_limm") + (eq_attr "iscompact" "true_limm") (const_int 6) + (eq_attr "iscompact" "maybe_limm") + (cond [(match_test "GET_CODE (PATTERN (insn)) == COND_EXEC") (const_int 8)] + (const_int 6)) + (eq_attr "type" "load") (if_then_else (match_operand 1 "long_immediate_loadstore_operand" "")