summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-12 23:42:43 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-12 23:42:43 +0000
commitcb58c17ab4f5393e5acdb2982e30ad52b9d1d930 (patch)
treea1db56e08d6073b499d3c589aacad1412cb0330c /gcc/config/mips
parentd383a10c72cee0c43403b5273a989ab3feb20e0d (diff)
downloadgcc-cb58c17ab4f5393e5acdb2982e30ad52b9d1d930.tar.gz
* mips.md (return_internal): Change mode from SImode to VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17320 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index bf44a6f1d19..dca0438dc93 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)]
""
"*