Commit 30c0df2a by Claudiu Zissulescu Committed by Claudiu Zissulescu

[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
parent 23c98523
2017-06-01 Claudiu Zissulescu <claziss@synopsys.com> 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 * config/arc/arc.c (arc_conditional_register_usage): Allow r30 to
be used by the reg-alloc. be used by the reg-alloc.
......
...@@ -1356,7 +1356,7 @@ ...@@ -1356,7 +1356,7 @@
}") }")
(define_insn_and_split "*movv2hi_insn" (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"))] (match_operand:V2HI 1 "general_operand" "i,r,m,r"))]
"(register_operand (operands[0], V2HImode) "(register_operand (operands[0], V2HImode)
|| register_operand (operands[1], V2HImode))" || register_operand (operands[1], V2HImode))"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment