aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-12-31 09:05:15 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-31 02:05:15 -0700
commit1b31097e5d20d1f200992919126e633b85d323dc (patch)
tree706dbb837e05b99f9e574d57c403dc2c99fd3aa4
parent194faace59fd10e2db5a894f068b1c7f3311a9cd (diff)
downloadgcc-1b31097e5d20d1f200992919126e633b85d323dc.zip
gcc-1b31097e5d20d1f200992919126e633b85d323dc.tar.gz
gcc-1b31097e5d20d1f200992919126e633b85d323dc.tar.bz2
* mn10200.md (addsi3, subsi3): Fix thinkos.
From-SVN: r17266
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mn10200/mn10200.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b2043d1..6969cbb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mn10200/mn10200.md b/gcc/config/mn10200/mn10200.md
index 9dc753c..a47332a 100644
--- a/gcc/config/mn10200/mn10200.md
+++ b/gcc/config/mn10200/mn10200.md
@@ -405,7 +405,7 @@
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
@@ -483,7 +483,7 @@
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