]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/mmix/mmix.md ("*divdi3_nonknuth", "*moddi3_nonknuth"):
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2010 00:55:30 +0000 (00:55 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2010 00:55:30 +0000 (00:55 +0000)
Add missing earlyclobber for second alternative.

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

gcc/ChangeLog
gcc/config/mmix/mmix.md

index 3612d90221f7ab28e7bd4c829cd88992bd2faa1a..d3c8f195965efe5741e53ab5feae1e20fbb78c55 100644 (file)
@@ -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,
index 44263e47f64e346e518727fd0d5069b31e0d20ec..8c3109b57b3ba042d6d44474dc36e90c3a120d0d 100644 (file)
 ;; 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"))