* mn10200.md (addsi3, subsi3): Fix thinkos.
authorJeffrey A Law <law@cygnus.com>
Wed, 31 Dec 1997 09:05:15 +0000 (09:05 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 31 Dec 1997 09:05:15 +0000 (02:05 -0700)
From-SVN: r17266

gcc/ChangeLog
gcc/config/mn10200/mn10200.md

index b2043d1..6969cbb 100644 (file)
@@ -1,3 +1,7 @@
+Wed Dec 31 10:05:44 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10200.md (addsi3, subsi3): Fix thinkos.
+
 Tue Dec 30 00:04:49 1997  Richard Henderson  <rth@cygnus.com>
 
        * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
index 9dc753c..a47332a 100644 (file)
       insns = get_insns ();
       end_sequence ();
       emit_libcall_block (insns, operands[0], ret,
-                         gen_rtx (ASHIFT, SImode, operands[1], operands[2]));
+                         gen_rtx (PLUS, SImode, operands[1], operands[2]));
       DONE;
     }
   else
       insns = get_insns ();
       end_sequence ();
       emit_libcall_block (insns, operands[0], ret,
-                         gen_rtx (ASHIFT, SImode, operands[1], operands[2]));
+                         gen_rtx (MINUS, SImode, operands[1], operands[2]));
       DONE;
     }
   else