From 65d5cba82f9fd2a560367e184937b239f11aedbb Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 31 May 1995 14:17:31 -0400 Subject: [PATCH] (symbolic HIGH patterns): Likewise. (symbolic LO_SUM pattern): Likewise. From-SVN: r9848 --- gcc/config/pa/pa.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 7587865c0b6..36bb7bbf1dc 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -1448,7 +1448,7 @@ && ! function_label_operand (operands[1]) && ! read_only_operand (operands[1]) && ! flag_pic" - "addil L'%G1,%%r27" + "addil LR'%G1,%%r27" [(set_attr "type" "binary") (set_attr "length" "4")]) @@ -1492,7 +1492,13 @@ (high:SI (match_operand 1 "" "")))] "(!flag_pic || !symbolic_operand (operands[1]), Pmode) && !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 "length" "4")]) @@ -1531,6 +1537,8 @@ { if (flag_pic && symbolic_operand (operands[2], Pmode)) abort (); + else if (symbolic_operand (operands[2], Pmode)) + return \"ldo RR'%G2(%1),%0\"; else return \"ldo R'%G2(%1),%0\"; }" -- 2.30.2