+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
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))]