diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2015-09-10 11:19:52 +0200 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2015-09-10 10:19:52 +0100 |
commit | efdbb285f5154d274861751a222da25a8bbed3ce (patch) | |
tree | 0b54f71ee0873f5631bc14297155f57506f90c00 /gcc | |
parent | 3b698ceacf80b7eb3f40efb68c6466e1660e1ede (diff) | |
download | gcc-efdbb285f5154d274861751a222da25a8bbed3ce.zip gcc-efdbb285f5154d274861751a222da25a8bbed3ce.tar.gz gcc-efdbb285f5154d274861751a222da25a8bbed3ce.tar.bz2 |
arc.md (length): Fix attribute length for conditional executed instructions with long immediate.
2015-09-10 Claudiu Zissulescu <claziss@synopsys.com>
* 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)
From-SVN: r227626
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arc/arc.md | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d32e483..17b46e7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-10 Claudiu Zissulescu <claziss@synopsys.com> + + * config/arc/arc.md (length): Fix attribute length for conditional + executed instructions with long immediate. + 2015-09-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/aarch64/aarch64.md (*and<mode>3nr_compare0): Use logics_imm diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index 931f9a1..cfc4d32 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" "") |