[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
This commit is contained in:
Claudiu Zissulescu 2017-06-01 11:42:27 +02:00 committed by Claudiu Zissulescu
parent 23c98523af
commit 30c0df2aa3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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))"