OSDN Git Service

* sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2003 12:03:25 +0000 (12:03 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2003 12:03:25 +0000 (12:03 +0000)
constraint modifier for operand 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67827 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sh/sh.md

index cebc09a..b738ffb 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-12  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
+       constraint modifier for operand 0.
+
 2003-06-12  Hans-Peter Nilsson  <hp@axis.com>
 
        Don't warn on dollars in builtin macro definitions,
index 26ec412..f662dc6 100644 (file)
   [(set_attr "type" "arith_media")])
 
 (define_insn "adddi3_compact"
-  [(set (match_operand:DI 0 "arith_reg_operand" "=r")
+  [(set (match_operand:DI 0 "arith_reg_operand" "=&r")
        (plus:DI (match_operand:DI 1 "arith_reg_operand" "%0")
                 (match_operand:DI 2 "arith_reg_operand" "r")))
    (clobber (reg:SI T_REG))]
   [(set_attr "type" "arith_media")])
 
 (define_insn "subdi3_compact"
-  [(set (match_operand:DI 0 "arith_reg_operand" "=r")
+  [(set (match_operand:DI 0 "arith_reg_operand" "=&r")
        (minus:DI (match_operand:DI 1 "arith_reg_operand" "0")
                 (match_operand:DI 2 "arith_reg_operand" "r")))
    (clobber (reg:SI T_REG))]