stormy16.md (tablejump_pcrel): Use a MEM to help folding.

* config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
	to help folding.

From-SVN: r49219
This commit is contained in:
Geoffrey Keating 2002-01-25 18:20:27 +00:00 committed by Geoffrey Keating
parent 6cb3421f1f
commit 3d8dd3c051
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-01-25 Geoffrey Keating <geoffk@redhat.com>
* config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
to help folding.
2002-01-25 David Edelsohn <edelsohn@gnu.org>
* rs6000.md (prefetch): Make address V4SI mode so that the address

View file

@ -904,7 +904,8 @@
}")
(define_insn "tablejump_pcrel"
[(set (pc) (plus:HI (pc) (match_operand:HI 0 "register_operand" "r")))
[(set (pc) (mem:HI (plus:HI (pc)
(match_operand:HI 0 "register_operand" "r"))))
(use (label_ref:SI (match_operand 1 "" "")))]
""
"br %0"