I forgot to say that I have submitted this patch.

> 在 2018年9月9日,下午12:20,瞿仙淼 <xianmiao...@c-sky.com> 写道:
> 
> Hello!
> 
>       Two patterns were missing an earlyclobber.
> 
> 
> Index: gcc/ChangeLog
> ===================================================================
> --- gcc/ChangeLog     (revision 264177)
> +++ gcc/ChangeLog     (revision 264176)
> @@ -1,8 +1,3 @@
> -2018-09-09  Xianmiao Qu  <xianmiao...@c-sky.com>
> -
> -     * config/csky/csky.md (*cskyv2_adddi3, *cskyv2_subdi3): Add
> -     earlyclobber.
> -
> 2018-09-08  John David Anglin  <dang...@gcc.gnu.org>
> 
>       PR rtl-optimization/85458
> Index: gcc/config/csky/csky.md
> ===================================================================
> --- gcc/config/csky/csky.md   (revision 264177)
> +++ gcc/config/csky/csky.md   (revision 264176)
> @@ -919,7 +919,7 @@
>    clear the carry bit before adding the lo words.  */
> 
> (define_insn_and_split "*cskyv2_adddi3"
> -  [(set (match_operand:DI       0 "register_operand" "=&b,&r")
> +  [(set (match_operand:DI       0 "register_operand" "=b,&r")
>       (plus:DI (match_operand:DI 1 "register_operand" "%0,r")
>                (match_operand:DI 2 "register_operand" "b, r")))
>    (clobber (reg:CC CSKY_CC_REGNUM))]
> @@ -1117,7 +1117,7 @@
>    set the C bit before subtracting the lo words.  */
> 
> (define_insn_and_split "*cskyv2_subdi3"
> -  [(set (match_operand:DI        0 "register_operand" "=&b,&r")
> +  [(set (match_operand:DI        0 "register_operand" "=b,&r")
>       (minus:DI (match_operand:DI 1 "register_operand" "0, r")
>                 (match_operand:DI 2 "register_operand" "b, r")))
>    (clobber (reg:CC CSKY_CC_REGNUM))]
> 

Reply via email to