aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mmix/mmix.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3612d90..d3c8f19 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-27 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * config/mmix/mmix.md ("*divdi3_nonknuth", "*moddi3_nonknuth"):
+ Add missing earlyclobber for second alternative.
+
2010-04-26 Bernd Schmidt <bernds@codesourcery.com>
* df-problems.c (df_simulate_initialize_forwards): Set, don't clear,
diff --git a/gcc/config/mmix/mmix.md b/gcc/config/mmix/mmix.md
index 44263e47..8c3109b 100644
--- a/gcc/config/mmix/mmix.md
+++ b/gcc/config/mmix/mmix.md
@@ -333,7 +333,7 @@
;; The %2-is-%1-case is there just to make sure things don't fail. Could
;; presumably happen with optimizations off; no evidence.
(define_insn "*divdi3_nonknuth"
- [(set (match_operand:DI 0 "register_operand" "=&r,r")
+ [(set (match_operand:DI 0 "register_operand" "=&r,&r")
(div:DI (match_operand:DI 1 "register_operand" "r,r")
(match_operand:DI 2 "register_operand" "1,r")))
(clobber (match_scratch:DI 3 "=1,1"))
@@ -359,7 +359,7 @@ DIVU %0,%1,%2\;NEGU %1,0,%0\;CSN %0,$255,%1")
;; The %2-is-%1-case is there just to make sure things don't fail. Could
;; presumably happen with optimizations off; no evidence.
(define_insn "*moddi3_nonknuth"
- [(set (match_operand:DI 0 "register_operand" "=&r,r")
+ [(set (match_operand:DI 0 "register_operand" "=&r,&r")
(mod:DI (match_operand:DI 1 "register_operand" "r,r")
(match_operand:DI 2 "register_operand" "1,r")))
(clobber (match_scratch:DI 3 "=1,1"))