(print_operand, case 'c', case 'd'): New cases.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 19 Nov 1994 11:26:05 +0000 (06:26 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 19 Nov 1994 11:26:05 +0000 (06:26 -0500)
From-SVN: r8523

gcc/config/alpha/alpha.c

index 12608fe1b53178e584df1460217d065c8f5c42bd..5533aabddffdf398c601004e77578d45ad295992 100644 (file)
@@ -1053,6 +1053,23 @@ print_operand (file, x, code)
       fprintf (file, "%s", GET_RTX_NAME (reverse_condition (GET_CODE (x))));
       break;
 
+    case 'c':
+      /* Similar to `c', but swap.  We can't get unsigned here either.  */
+      if (GET_RTX_CLASS (GET_CODE (x)) != '<')
+       output_operand_lossage ("invalid %%D value");
+
+      fprintf (file, "%s", GET_RTX_NAME (swap_condition (GET_CODE (x))));
+      break;
+
+    case 'd':
+      /* Similar, but reverse and swap.  We can't get unsigned here either.  */
+      if (GET_RTX_CLASS (GET_CODE (x)) != '<')
+       output_operand_lossage ("invalid %%D value");
+
+      fprintf (file, "%s",
+              GET_RTX_NAME (swap_condition (reverse_condition ((GET_CODE (x))))));
+      break;
+
     case 'E':
       /* Write the divide or modulus operator.  */
       switch (GET_CODE (x))