stormy16.md (tablejump_pcrel): Use a MEM to help folding.
authorGeoffrey Keating <geoffk@redhat.com>
Fri, 25 Jan 2002 18:20:27 +0000 (18:20 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 25 Jan 2002 18:20:27 +0000 (18:20 +0000)
* config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
to help folding.

From-SVN: r49219

gcc/ChangeLog
gcc/config/stormy16/stormy16.md

index 02c75c3947bdacd8d6b8b91fa93ce35f83c4e595..a0335b06813f88fc7827135f88a9893dfedc2123 100644 (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
index cd68852c7893a8b3e76b2e092b1635ad9aedc339..4435379d78090399a40f0ff13dfc34f011a066f3 100644 (file)
 }")
 
 (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"