diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2002-01-25 18:20:27 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2002-01-25 18:20:27 +0000 |
commit | 3d8dd3c05117db6bb03971f0c4034833416e180b (patch) | |
tree | 5c5e9b7e13ca09f5b4ad3166f01168976d511d4a | |
parent | 6cb3421f1f940dd093331ed494df9db4e7194e9a (diff) | |
download | gcc-3d8dd3c05117db6bb03971f0c4034833416e180b.tar.gz |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.md | 3 |
2 files changed, 7 insertions, 1 deletions
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 <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 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" |