aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-01-23 20:40:56 +0000
committerDoug Evans <dje@gnu.org>1995-01-23 20:40:56 +0000
commit80c838cd8efed0fc9234733cfd99d9519a49b521 (patch)
tree4a1080aa66b4b31779ea7c593dbdcd52d11d73fe /gcc
parent255512c1d394f11d902c54f0258d0a4b81023bb4 (diff)
downloadgcc-80c838cd8efed0fc9234733cfd99d9519a49b521.zip
gcc-80c838cd8efed0fc9234733cfd99d9519a49b521.tar.gz
gcc-80c838cd8efed0fc9234733cfd99d9519a49b521.tar.bz2
(table_jump_h8300, table_jump_h8300h): Constrain operand to use register.
From-SVN: r8789
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/h8300/h8300.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index f69c0fa..c1c84e9 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -1,5 +1,5 @@
;; GCC machine description for Hitachi H8/300
-;; Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+;; Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
;; Contributed by Steve Chamberlain (sac@cygnus.com),
;; Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
@@ -1269,7 +1269,7 @@
"")
(define_insn "tablejump_h8300"
- [(set (pc) (match_operand:HI 0 "register_operand" ""))
+ [(set (pc) (match_operand:HI 0 "register_operand" "r"))
(use (label_ref (match_operand 1 "" "")))]
"TARGET_H8300"
"jmp @%0"
@@ -1278,7 +1278,7 @@
(set_attr "length" "2")])
(define_insn "tablejump_h8300h"
- [(set (pc) (match_operand:SI 0 "register_operand" ""))
+ [(set (pc) (match_operand:SI 0 "register_operand" "r"))
(use (label_ref (match_operand 1 "" "")))]
"TARGET_H8300H"
"jmp @%0"