From: Claudiu Zissulescu Date: Thu, 13 Oct 2016 11:48:02 +0000 (+0200) Subject: [ARC] Fix mul32x16 patterns. X-Git-Tag: upstream/12.2.0~44096 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c59552242d60f0c89534dc1bed28f4a402a56e11;p=platform%2Fupstream%2Fgcc.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 708b322..90a8fcb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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. 2016-10-13 Bin Cheng diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index 715da31..3c531d9 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"