aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-11-19 06:26:05 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-11-19 06:26:05 -0500
commitab561e667b7da048887a49d6cd53e7817504d0a6 (patch)
tree399be41fffb74de1e6501f451d3acdcf6b07e0c2 /gcc
parent58f0f574692fc0b36458b288d740ea9451e8c30c (diff)
downloadgcc-ab561e667b7da048887a49d6cd53e7817504d0a6.zip
gcc-ab561e667b7da048887a49d6cd53e7817504d0a6.tar.gz
gcc-ab561e667b7da048887a49d6cd53e7817504d0a6.tar.bz2
(print_operand, case 'c', case 'd'): New cases.
From-SVN: r8523
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/alpha/alpha.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 12608fe..5533aab 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -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))