* Claudiu Zissulescu <claudiu.zissule...@synopsys.com> [2017-05-19 12:30:56 
+0200]:

> gcc/
> 2016-11-10  Claudiu Zissulescu  <claz...@synopsys.com>
> 
>       * config/arc/arc.md (mulsi3_700): Make it commutative.

Looks good thanks,

Andrew


> ---
>  gcc/config/arc/arc.md | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md
> index 71d076c..db5867c 100644
> --- a/gcc/config/arc/arc.md
> +++ b/gcc/config/arc/arc.md
> @@ -2127,7 +2127,7 @@
>  ; like MPY or MPYU.
>  (define_insn "mulsi3_700"
>   [(set (match_operand:SI 0 "mpy_dest_reg_operand"        "=Rcr,r,r,Rcr,r")
> -     (mult:SI (match_operand:SI 1 "register_operand"  " 0,c,0,0,c")
> +     (mult:SI (match_operand:SI 1 "register_operand"  "%0,c,0,0,c")
>                (match_operand:SI 2 "nonmemory_operand" "cL,cL,I,Cal,Cal")))]
>   "TARGET_ARC700_MPY"
>    "mpyu%? %0,%1,%2"
> -- 
> 1.9.1
> 

Reply via email to