[PATCH, csky] add an earlyclobber for two patterns

瞿仙淼 xianmiao_qu@c-sky.com
Sun Sep 9 04:21:00 GMT 2018


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_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: 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))]



More information about the Gcc-patches mailing list