(print_operand, case '.'): Use RS6000_CALL_GLUE instead of RS6000_CROR_BIT_NUMBER.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 21 Oct 1993 01:59:50 +0000 (21:59 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 21 Oct 1993 01:59:50 +0000 (21:59 -0400)
(print_operand, case '.'): Use RS6000_CALL_GLUE instead of
RS6000_CROR_BIT_NUMBER.
(print_operand, case 'E', case 0): Use "return", not "break".

From-SVN: r5851

gcc/config/rs6000/rs6000.c

index 62fe8cfa05405cc0087a202833a9d48d5d65f409..6f07021c7364f87a95151629cc7fd0db9ba5af2b 100644 (file)
@@ -827,9 +827,9 @@ print_operand (file, x, code)
   switch (code)
     {
     case '.':
-      /* Write out the bit number for "cror" after a call.   This differs
-        between AIX 3.2 and earlier versions.  */
-      fprintf (file, "%d", RS6000_CROR_BIT_NUMBER);
+      /* Write out an instruction after the call which may be replaced
+        with glue code by the loader.  This depends on the AIX version.  */
+      asm_fprintf (file, RS6000_CALL_GLUE);
       return;
 
     case 'A':
@@ -893,7 +893,7 @@ print_operand (file, x, code)
        output_operand_lossage ("invalid %%E value");
 
       fprintf(file, "%d", 4 * (REGNO (x) - 68) + 3);
-      break;
+      return;
 
     case 'f':
       /* X is a CR register.  Print the shift count needed to move it
@@ -1254,7 +1254,7 @@ print_operand (file, x, code)
        }
       else
        output_addr_const (file, x);
-      break;
+      return;
 
     default:
       output_operand_lossage ("invalid %%xn code");