mirror of git://gcc.gnu.org/git/gcc.git
[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
This commit is contained in:
parent
d4fe8839e6
commit
c59552242d
|
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2016-10-13 Claudiu Zissulescu <claziss@synopsys.com>
|
||||||
|
|
||||||
* config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change.
|
* config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change.
|
||||||
|
|
|
||||||
|
|
@ -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 @@
|
||||||
(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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue