aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2010-04-27 00:55:30 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2010-04-27 00:55:30 +0000
commit68e87fc9c5711331b65193395a689f180890e0cd (patch)
treeca83e2108959d538272f3104ecef6cfdeacc0920 /gcc
parent6a07739dee3b1ac6c5107de88eb724b08187abfc (diff)
downloadgcc-68e87fc9c5711331b65193395a689f180890e0cd.zip
gcc-68e87fc9c5711331b65193395a689f180890e0cd.tar.gz
gcc-68e87fc9c5711331b65193395a689f180890e0cd.tar.bz2
mmix.md ("*divdi3_nonknuth", [...]): Add missing earlyclobber for second alternative.
* config/mmix/mmix.md ("*divdi3_nonknuth", "*moddi3_nonknuth"): Add missing earlyclobber for second alternative. From-SVN: r158759
Diffstat (limited to 'gcc')
-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"))