From 5ff75faf7c0aec9ef10e063b11bcfe788af2e5cf Mon Sep 17 00:00:00 2001 From: kenner Date: Wed, 31 May 1995 18:17:31 +0000 Subject: [PATCH] (symbolic HIGH patterns): Likewise. (symbolic LO_SUM pattern): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9848 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 7587865..36bb7bb 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.7.4