summaryrefslogtreecommitdiff
path: root/gcc/config/mmix
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-27 00:55:30 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-27 00:55:30 +0000
commite94ec4b251d056f2f82e0f8396f07d1892f4a8dc (patch)
treeca83e2108959d538272f3104ecef6cfdeacc0920 /gcc/config/mmix
parentb1a2d2bbe83c35df61f12798dd14b14001b8b8d5 (diff)
downloadgcc-e94ec4b251d056f2f82e0f8396f07d1892f4a8dc.tar.gz
* config/mmix/mmix.md ("*divdi3_nonknuth", "*moddi3_nonknuth"):
Add missing earlyclobber for second alternative. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mmix')
-rw-r--r--gcc/config/mmix/mmix.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/mmix/mmix.md b/gcc/config/mmix/mmix.md
index 44263e47f64..8c3109b57b3 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"))