(symbolic HIGH patterns): Likewise.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 May 1995 18:17:31 +0000 (18:17 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 May 1995 18:17:31 +0000 (18:17 +0000)
(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

index 7587865..36bb7bb 100644 (file)
    && ! 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")])
 
        (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")])
 
 {
   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\";
 }"