From 38b3ef8be6733c9b911cf9fac07d92d22d5b057c Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Thu, 12 Jun 2003 12:03:25 +0000 Subject: [PATCH] sh.md (adddi3_compact, [...]): Add earlyclobber constraint modifier for operand 0. * sh.md (adddi3_compact, subdi3_compact): Add earlyclobber constraint modifier for operand 0. From-SVN: r67827 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cebc09aae12a..b738ffb6eece 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-12 J"orn Rennecke + + * sh.md (adddi3_compact, subdi3_compact): Add earlyclobber + constraint modifier for operand 0. + 2003-06-12 Hans-Peter Nilsson Don't warn on dollars in builtin macro definitions, diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 26ec41259b86..f662dc6efb4b 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1014,7 +1014,7 @@ [(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))] @@ -1122,7 +1122,7 @@ [(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))] -- 2.47.3