From: Claudiu Zissulescu Date: Thu, 13 Oct 2016 11:48:02 +0000 (+0200) Subject: [ARC] Fix mul32x16 patterns. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c59552242d60f0c89534dc1bed28f4a402a56e11;p=gcc.git [ARC] Fix mul32x16 patterns. gcc/ 2016-10-13 Claudiu Zissulescu * config/arc/arc.md (umul_600): Change. (umul64_600): Likewise. From-SVN: r241105 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 708b322fac1..90a8fcb46e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-10-13 Claudiu Zissulescu + + * config/arc/arc.md (umul_600): Remove predicated variant. + (umul64_600): Likewise. + 2016-10-13 Claudiu Zissulescu * config/arc/arc.h (INSN_LENGTH_ALIGNMENT): Change. diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index 715da315d76..3c531d956b4 100644 --- a/gcc/config/arc/arc.md +++ b/gcc/config/arc/arc.md @@ -1939,13 +1939,11 @@ (const_int 0)))) (clobber (match_operand:SI 3 "acc1_operand" ""))] "TARGET_MULMAC_32BY16_SET" - "@mululw 0, %0, %1 - mululw 0, %0, %1 - mululw%? 0, %1, %0" + "mululw 0, %0, %1" [(set_attr "length" "4,4,8") - (set_attr "type" "mulmac_600, mulmac_600, mulmac_600") - (set_attr "predicable" "no, no, yes") - (set_attr "cond" "nocond, canuse_limm, canuse")]) + (set_attr "type" "mulmac_600") + (set_attr "predicable" "no") + (set_attr "cond" "nocond")]) (define_insn "mac_600" [(set (match_operand:SI 2 "acc2_operand" "") @@ -2374,13 +2372,11 @@ (const_int 0)))) ] "TARGET_MULMAC_32BY16_SET" - "@mululw 0, %0, %1 - mululw 0, %0, %1 - mululw%? 0, %1, %0" + "mululw 0, %0, %1" [(set_attr "length" "4,4,8") (set_attr "type" "mulmac_600") - (set_attr "predicable" "no,no,yes") - (set_attr "cond" "nocond, canuse_limm, canuse")]) + (set_attr "predicable" "no") + (set_attr "cond" "nocond")]) (define_insn "umac64_600"