Commit e1a2f7ae by Jakub Jelinek Committed by David S. Miller

sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern so that it is actually matched.

	* config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
	so that it is actually matched.
	(sethi_di_medlow): Likewise.

From-SVN: r30822
parent d0cee9ba
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
quad long doubles. quad long doubles.
(hard_64bit_mode_classes): Likewise. (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> Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
* loop.h (struct induction): Add multi_insn_incr. * loop.h (struct induction): Add multi_insn_incr.
......
...@@ -2444,9 +2444,7 @@ ...@@ -2444,9 +2444,7 @@
(define_insn "*sethi_di_medlow_embmedany_pic" (define_insn "*sethi_di_medlow_embmedany_pic"
[(set (match_operand:DI 0 "register_operand" "=r") [(set (match_operand:DI 0 "register_operand" "=r")
(high:DI (match_operand:DI 1 "sp64_medium_pic_operand" ""))) (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))]
"(TARGET_CM_MEDLOW || TARGET_CM_EMBMEDANY) && check_pic (1)" "(TARGET_CM_MEDLOW || TARGET_CM_EMBMEDANY) && check_pic (1)"
"sethi\\t%%hi(%a1), %0" "sethi\\t%%hi(%a1), %0"
[(set_attr "type" "move") [(set_attr "type" "move")
...@@ -2454,9 +2452,7 @@ ...@@ -2454,9 +2452,7 @@
(define_insn "*sethi_di_medlow" (define_insn "*sethi_di_medlow"
[(set (match_operand:DI 0 "register_operand" "=r") [(set (match_operand:DI 0 "register_operand" "=r")
(high:DI (match_operand:DI 1 "symbolic_operand" ""))) (high:DI (match_operand:DI 1 "symbolic_operand" "")))]
;; The clobber is here because emit_move_sequence assumes the worst case.
(clobber (reg:DI 1))]
"TARGET_CM_MEDLOW && check_pic (1)" "TARGET_CM_MEDLOW && check_pic (1)"
"sethi\\t%%hi(%a1), %0" "sethi\\t%%hi(%a1), %0"
[(set_attr "type" "move") [(set_attr "type" "move")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment