Commit 65d5cba8 by Richard Kenner

(symbolic HIGH patterns): Likewise.

(symbolic LO_SUM pattern): Likewise.

From-SVN: r9848
parent d56d7a26
...@@ -1448,7 +1448,7 @@ ...@@ -1448,7 +1448,7 @@
&& ! function_label_operand (operands[1]) && ! function_label_operand (operands[1])
&& ! read_only_operand (operands[1]) && ! read_only_operand (operands[1])
&& ! flag_pic" && ! flag_pic"
"addil L'%G1,%%r27" "addil LR'%G1,%%r27"
[(set_attr "type" "binary") [(set_attr "type" "binary")
(set_attr "length" "4")]) (set_attr "length" "4")])
...@@ -1492,7 +1492,13 @@ ...@@ -1492,7 +1492,13 @@
(high:SI (match_operand 1 "" "")))] (high:SI (match_operand 1 "" "")))]
"(!flag_pic || !symbolic_operand (operands[1]), Pmode) "(!flag_pic || !symbolic_operand (operands[1]), Pmode)
&& !is_function_label_plus_const (operands[1])" && !is_function_label_plus_const (operands[1])"
"ldil L'%G1,%0" "*
{
if (symbolic_operand (operands[1], Pmode))
return \"ldil LR'%G1,%0\";
else
return \"ldil L'%G1,%0\";
}"
[(set_attr "type" "move") [(set_attr "type" "move")
(set_attr "length" "4")]) (set_attr "length" "4")])
...@@ -1531,6 +1537,8 @@ ...@@ -1531,6 +1537,8 @@
{ {
if (flag_pic && symbolic_operand (operands[2], Pmode)) if (flag_pic && symbolic_operand (operands[2], Pmode))
abort (); abort ();
else if (symbolic_operand (operands[2], Pmode))
return \"ldo RR'%G2(%1),%0\";
else else
return \"ldo R'%G2(%1),%0\"; return \"ldo R'%G2(%1),%0\";
}" }"
......
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