Commit 8d768fa2 by Jeff Law

pa.md (default set high): Do not accept function label arithmetic as a valid operand.

	* pa.md (default set high): Do not accept function label arithmetic
	as a valid operand.
	(default lo_sum): Likewise.

From-SVN: r7883
parent 326bc2de
......@@ -1199,7 +1199,7 @@
(define_insn ""
[(set (match_operand:SI 0 "register_operand" "=r")
(high:SI (match_operand 1 "" "")))]
"check_pic (1)"
"check_pic (1) && !is_function_label_plus_const (operands[1])"
"ldil L'%G1,%0"
[(set_attr "type" "move")
(set_attr "length" "4")])
......@@ -1232,7 +1232,7 @@
[(set (match_operand:SI 0 "register_operand" "=r")
(lo_sum:SI (match_operand:SI 1 "register_operand" "r")
(match_operand:SI 2 "immediate_operand" "i")))]
""
"!is_function_label_plus_const (operands[2])"
"ldo R'%G2(%1),%0"
[(set_attr "length" "4")])
......
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