Commit b5a5ade8 by Claudiu Zissulescu Committed by Claudiu Zissulescu

[ARC] Various instruction pattern fixes

gcc/
2016-05-02  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.md (mulsidi3): Change operand 0 predicate to
	register_operand.
	(umulsidi3): Likewise.
	(indirect_jump): Fix jump instruction assembly patterns.

From-SVN: r235749
parent e91cacae
2016-05-02 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.md (mulsidi3): Change operand 0 predicate to
register_operand.
(umulsidi3): Likewise.
(indirect_jump): Fix jump instruction assembly patterns.
2016-05-02 Thomas Schwinge <thomas@codesourcery.com> 2016-05-02 Thomas Schwinge <thomas@codesourcery.com>
PR target/70860 PR target/70860
......
...@@ -2079,9 +2079,9 @@ ...@@ -2079,9 +2079,9 @@
(set_attr "cond" "nocond,canuse,nocond,canuse_limm,canuse,nocond")]) (set_attr "cond" "nocond,canuse,nocond,canuse_limm,canuse,nocond")])
(define_expand "mulsidi3" (define_expand "mulsidi3"
[(set (match_operand:DI 0 "nonimmediate_operand" "") [(set (match_operand:DI 0 "register_operand" "")
(mult:DI (sign_extend:DI(match_operand:SI 1 "register_operand" "")) (mult:DI (sign_extend:DI (match_operand:SI 1 "register_operand" ""))
(sign_extend:DI(match_operand:SI 2 "nonmemory_operand" ""))))] (sign_extend:DI (match_operand:SI 2 "nonmemory_operand" ""))))]
"TARGET_ANY_MPY" "TARGET_ANY_MPY"
" "
{ {
...@@ -2315,9 +2315,9 @@ ...@@ -2315,9 +2315,9 @@
}") }")
(define_expand "umulsidi3" (define_expand "umulsidi3"
[(set (match_operand:DI 0 "nonimmediate_operand" "") [(set (match_operand:DI 0 "register_operand" "")
(mult:DI (zero_extend:DI(match_operand:SI 1 "register_operand" "")) (mult:DI (zero_extend:DI (match_operand:SI 1 "register_operand" ""))
(zero_extend:DI(match_operand:SI 2 "nonmemory_operand" ""))))] (zero_extend:DI (match_operand:SI 2 "nonmemory_operand" ""))))]
"" ""
{ {
if (TARGET_MPY) if (TARGET_MPY)
...@@ -3809,7 +3809,12 @@ ...@@ -3809,7 +3809,12 @@
(define_insn "indirect_jump" (define_insn "indirect_jump"
[(set (pc) (match_operand:SI 0 "nonmemory_operand" "L,I,Cal,Rcqq,r"))] [(set (pc) (match_operand:SI 0 "nonmemory_operand" "L,I,Cal,Rcqq,r"))]
"" ""
"j%!%* [%0]%&" "@
j%!%* %0%&
j%!%* %0%&
j%!%* %0%&
j%!%* [%0]%&
j%!%* [%0]%&"
[(set_attr "type" "jump") [(set_attr "type" "jump")
(set_attr "iscompact" "false,false,false,maybe,false") (set_attr "iscompact" "false,false,false,maybe,false")
(set_attr "cond" "canuse,canuse_limm,canuse,canuse,canuse")]) (set_attr "cond" "canuse,canuse_limm,canuse,canuse,canuse")])
......
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