Commit 80c838cd by Doug Evans

(table_jump_h8300, table_jump_h8300h): Constrain operand to use register.

From-SVN: r8789
parent 255512c1
;; 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment