From 6d3c2b0a04de394f8432b7dbb77b4603e649c3c8 Mon Sep 17 00:00:00 2001 From: Xianmiao Qu Date: Sun, 9 Sep 2018 04:06:16 +0000 Subject: [PATCH] csky.md (*cskyv2_adddi3, [...]): Add earlyclobber. 2018-09-09 Xianmiao Qu * config/csky/csky.md (*cskyv2_adddi3, *cskyv2_subdi3): Add earlyclobber. From-SVN: r264177 --- gcc/ChangeLog | 5 +++++ gcc/config/csky/csky.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e4760a3f4e..efed6450017 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-09-09 Xianmiao Qu + + * config/csky/csky.md (*cskyv2_adddi3, *cskyv2_subdi3): Add + earlyclobber. + 2018-09-08 John David Anglin PR rtl-optimization/85458 diff --git a/gcc/config/csky/csky.md b/gcc/config/csky/csky.md index 4f6329d143a..cde2bd6b278 100644 --- a/gcc/config/csky/csky.md +++ b/gcc/config/csky/csky.md @@ -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))] -- 2.30.2