csky.md (*cskyv2_adddi3, [...]): Add earlyclobber.
authorXianmiao Qu <xianmiao_qu@c-sky.com>
Sun, 9 Sep 2018 04:06:16 +0000 (04:06 +0000)
committerXianmiao Qu <xianmiao@gcc.gnu.org>
Sun, 9 Sep 2018 04:06:16 +0000 (04:06 +0000)
2018-09-09  Xianmiao Qu  <xianmiao_qu@c-sky.com>

* config/csky/csky.md (*cskyv2_adddi3, *cskyv2_subdi3): Add
earlyclobber.

From-SVN: r264177

gcc/ChangeLog
gcc/config/csky/csky.md

index 2e4760a3f4e699f24c7f59b67b71a21010a96f41..efed645001768e14ac2ad3f42ff9ff58b6700a3f 100644 (file)
@@ -1,3 +1,8 @@
+2018-09-09  Xianmiao Qu  <xianmiao_qu@c-sky.com>
+
+       * config/csky/csky.md (*cskyv2_adddi3, *cskyv2_subdi3): Add
+       earlyclobber.
+
 2018-09-08  John David Anglin  <danglin@gcc.gnu.org>
 
        PR rtl-optimization/85458
index 4f6329d143a499139ceee4ebba31b05c368756cf..cde2bd6b278a61d892afed20b17607605afce400 100644 (file)
    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))]
    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))]