This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix cut&pasto in mips adddi3 pattern


Caught by existing tests after some local changes.  Tested on
mips64vrel-elf, installed as obvious.

Richard


	* config/mips/mips.md (adddi3): Fix typo in mips16 stack pointer code.

Index: config/mips/mips.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.md,v
retrieving revision 1.205
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.205 mips.md
--- config/mips/mips.md	30 Oct 2003 18:11:27 -0000	1.205
+++ config/mips/mips.md	30 Oct 2003 18:11:49 -0000
@@ -883,7 +883,7 @@ (define_expand "adddi3"
       rtx tmp = gen_reg_rtx (DImode);
 
       emit_move_insn (tmp, operands[1]);
-      emit_insn (gen_addsi3 (tmp, tmp, operands[2]));
+      emit_insn (gen_adddi3 (tmp, tmp, operands[2]));
       emit_move_insn (operands[0], tmp);
       DONE;
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]