diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2017-06-01 11:42:27 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2017-06-01 11:42:27 +0200 |
commit | 30c0df2aa37ee207834dfc079c3e14f7870430b9 (patch) | |
tree | 1852be6f46a535bd69cdb1790bf64edaadfa0dae | |
parent | 23c98523af986d9515db70a3fec3b88a9aab1f53 (diff) | |
download | gcc-30c0df2aa37ee207834dfc079c3e14f7870430b9.zip gcc-30c0df2aa37ee207834dfc079c3e14f7870430b9.tar.gz gcc-30c0df2aa37ee207834dfc079c3e14f7870430b9.tar.bz2 |
[ARC] Change predicate movv2hi to avoid scaled addresses.
2017-06-01 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/simdext.md (movv2hi_insn): Change predicate to avoid
scaled addresses.
From-SVN: r248779
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arc/simdext.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 743f468..daf4133 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2017-06-01 Claudiu Zissulescu <claziss@synopsys.com> + * config/arc/simdext.md (movv2hi_insn): Change predicate to avoid + scaled addresses. + +2017-06-01 Claudiu Zissulescu <claziss@synopsys.com> + * config/arc/arc.c (arc_conditional_register_usage): Allow r30 to be used by the reg-alloc. diff --git a/gcc/config/arc/simdext.md b/gcc/config/arc/simdext.md index 5253033..6c102d3 100644 --- a/gcc/config/arc/simdext.md +++ b/gcc/config/arc/simdext.md @@ -1356,7 +1356,7 @@ }") (define_insn_and_split "*movv2hi_insn" - [(set (match_operand:V2HI 0 "nonimmediate_operand" "=r,r,r,m") + [(set (match_operand:V2HI 0 "move_dest_operand" "=r,r,r,m") (match_operand:V2HI 1 "general_operand" "i,r,m,r"))] "(register_operand (operands[0], V2HImode) || register_operand (operands[1], V2HImode))" |