sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern so that it is actually matched.
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Dec 1999 07:28:17 +0000 (08:28 +0100)
committerDavid S. Miller <davem@gcc.gnu.org>
Wed, 8 Dec 1999 07:28:17 +0000 (23:28 -0800)
* config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
so that it is actually matched.
(sethi_di_medlow): Likewise.

From-SVN: r30822

gcc/ChangeLog
gcc/config/sparc/sparc.md

index d7d5d9f22810c579578e3c93dbb84ff33e6c5201..95d8edc1173efc218319fa2da53b3ce41fb2155e 100644 (file)
@@ -5,6 +5,10 @@
        quad long doubles.
        (hard_64bit_mode_classes): Likewise.
 
+       * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
+       so that it is actually matched.
+       (sethi_di_medlow): Likewise.
+
 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
 
        * loop.h (struct induction): Add multi_insn_incr.
index 6bd868262987142bc377246e39469b5ab0786e4a..7dd76f96de18b7824cbddc2b9efbcc088aadd098 100644 (file)
 
 (define_insn "*sethi_di_medlow_embmedany_pic"
   [(set (match_operand:DI 0 "register_operand" "=r")
-        (high:DI (match_operand:DI 1 "sp64_medium_pic_operand" "")))
-  ;; The clobber is here because emit_move_sequence assumes the worst case.
-   (clobber (reg:DI 1))]
+        (high:DI (match_operand:DI 1 "sp64_medium_pic_operand" "")))]
   "(TARGET_CM_MEDLOW || TARGET_CM_EMBMEDANY) && check_pic (1)"
   "sethi\\t%%hi(%a1), %0"
   [(set_attr "type" "move")
 
 (define_insn "*sethi_di_medlow"
   [(set (match_operand:DI 0 "register_operand" "=r")
-        (high:DI (match_operand:DI 1 "symbolic_operand" "")))
-  ;; The clobber is here because emit_move_sequence assumes the worst case.
-   (clobber (reg:DI 1))]
+        (high:DI (match_operand:DI 1 "symbolic_operand" "")))]
   "TARGET_CM_MEDLOW && check_pic (1)"
   "sethi\\t%%hi(%a1), %0"
   [(set_attr "type" "move")