From ed0da988b9121d779d156d6027fc735854114bc2 Mon Sep 17 00:00:00 2001 From: geoffk Date: Fri, 25 Jan 2002 18:20:27 +0000 Subject: [PATCH] * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM to help folding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49219 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/stormy16/stormy16.md | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02c75c3947b..a0335b06813 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-01-25 Geoffrey Keating + + * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM + to help folding. + 2002-01-25 David Edelsohn * rs6000.md (prefetch): Make address V4SI mode so that the address diff --git a/gcc/config/stormy16/stormy16.md b/gcc/config/stormy16/stormy16.md index cd68852c789..4435379d780 100644 --- a/gcc/config/stormy16/stormy16.md +++ b/gcc/config/stormy16/stormy16.md @@ -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" -- 2.11.0