OSDN Git Service

* config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Dec 1999 07:28:17 +0000 (07:28 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Dec 1999 07:28:17 +0000 (07:28 +0000)
so that it is actually matched.
(sethi_di_medlow): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30822 138bc75d-0d04-0410-961f-82ee72b054a4

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

index d7d5d9f..95d8edc 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 6bd8682..7dd76f9 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")