Commit c5955224 by Claudiu Zissulescu Committed by Claudiu Zissulescu

[ARC] Fix mul32x16 patterns.

gcc/
2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.md (umul_600): Change.
	(umul64_600): Likewise.

From-SVN: r241105
parent d4fe8839
2016-10-13 Claudiu Zissulescu <claziss@synopsys.com> 2016-10-13 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.md (umul_600): Remove predicated variant.
(umul64_600): Likewise.
2016-10-13 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change. * config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change.
2016-10-13 Bin Cheng <bin.cheng@arm.com> 2016-10-13 Bin Cheng <bin.cheng@arm.com>
......
...@@ -1939,13 +1939,11 @@ ...@@ -1939,13 +1939,11 @@
(const_int 0)))) (const_int 0))))
(clobber (match_operand:SI 3 "acc1_operand" ""))] (clobber (match_operand:SI 3 "acc1_operand" ""))]
"TARGET_MULMAC_32BY16_SET" "TARGET_MULMAC_32BY16_SET"
"@mululw 0, %0, %1 "mululw 0, %0, %1"
mululw 0, %0, %1
mululw%? 0, %1, %0"
[(set_attr "length" "4,4,8") [(set_attr "length" "4,4,8")
(set_attr "type" "mulmac_600, mulmac_600, mulmac_600") (set_attr "type" "mulmac_600")
(set_attr "predicable" "no, no, yes") (set_attr "predicable" "no")
(set_attr "cond" "nocond, canuse_limm, canuse")]) (set_attr "cond" "nocond")])
(define_insn "mac_600" (define_insn "mac_600"
[(set (match_operand:SI 2 "acc2_operand" "") [(set (match_operand:SI 2 "acc2_operand" "")
...@@ -2374,13 +2372,11 @@ ...@@ -2374,13 +2372,11 @@
(const_int 0)))) (const_int 0))))
] ]
"TARGET_MULMAC_32BY16_SET" "TARGET_MULMAC_32BY16_SET"
"@mululw 0, %0, %1 "mululw 0, %0, %1"
mululw 0, %0, %1
mululw%? 0, %1, %0"
[(set_attr "length" "4,4,8") [(set_attr "length" "4,4,8")
(set_attr "type" "mulmac_600") (set_attr "type" "mulmac_600")
(set_attr "predicable" "no,no,yes") (set_attr "predicable" "no")
(set_attr "cond" "nocond, canuse_limm, canuse")]) (set_attr "cond" "nocond")])
(define_insn "umac64_600" (define_insn "umac64_600"
......
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