aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-01-12 23:42:43 +0000
committerJeff Law <law@gcc.gnu.org>1998-01-12 16:42:43 -0700
commit32318600e95d6b5c28f9bf1a19be199bd50de869 (patch)
treea1db56e08d6073b499d3c589aacad1412cb0330c
parenta0d5fba7d253e0d09de2a4f46fce6a57340407a8 (diff)
downloadgcc-32318600e95d6b5c28f9bf1a19be199bd50de869.zip
gcc-32318600e95d6b5c28f9bf1a19be199bd50de869.tar.gz
gcc-32318600e95d6b5c28f9bf1a19be199bd50de869.tar.bz2
* mips.md (return_internal): Change mode from SImode to VOIDmode.
From-SVN: r17320
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/mips.md4
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fca573f..4c76809 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
+
+ * mips.md (return_internal): Change mode from SImode to VOIDmode.
+
Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
* i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index bf44a6f..dca0438 100644
--- a/gcc/config/mips/mips.md
+++ b/gcc/config/mips/mips.md
@@ -8796,8 +8796,10 @@ move\\t%0,%z4\\n\\
(set_attr "length" "1")])
;; Normal return.
+;; We match any mode for the return address, so that this will work with
+;; both 32 bit and 64 bit targets.
(define_insn "return_internal"
- [(use (match_operand:SI 0 "register_operand" ""))
+ [(use (match_operand 0 "register_operand" ""))
(return)]
""
"*