h8300.c (print_operand): Remove support for unused operand characters.
authorKazu Hirata <kazu@hxi.com>
Tue, 15 Jan 2002 14:10:02 +0000 (14:10 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 15 Jan 2002 14:10:02 +0000 (14:10 +0000)
* confiig/h8300/h8300.c (print_operand): Remove support for
unused operand characters.

From-SVN: r48871

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 206c1b917c4a5259bd9c89f5bf836d8ef4a5e645..70428b15078fde94d47836c97bc6700394586fc3 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-15  Kazu Hirata  <kazu@hxi.com>
+
+       * confiig/h8300/h8300.c (print_operand): Remove support for
+       unused operand characters.
+
 2002-01-15  Kazu Hirata  <kazu@hxi.com>
 
        * read-rtl.c: Fix formatting.
index ef6c7fe0d7cf359f25b1f0e422b3e569f6b671ae..26cc30af2347411cb5cc88b57e6bd7c5b3117fe3 100644 (file)
@@ -938,12 +938,9 @@ const_costs (r, c)
 /* Documentation for the machine specific operand escapes:
 
    'A' print rn in H8/300 mode, erN in H8/300H mode
-   'C' print (operand - 2).
    'E' like s but negative.
    'F' like t but negative.
    'G' constant just the negative
-   'M' turn a 'M' constant into its negative mod 2.
-   'P' if operand is incing/decing sp, print .w, otherwise .b.
    'R' print operand as a byte:8 address if appropriate, else fall back to
        'X' handling.
    'S' print operand as a long word
@@ -956,13 +953,10 @@ const_costs (r, c)
        If this operand isn't a register, fall back to 'R' handling.
    'Z' print int & 7.
    'b' print the bit opcode
-   'c' print the ibit opcode
-   'd' bcc if EQ, bcs if NE
    'e' first word of 32 bit value - if reg, then least reg. if mem
        then least. if const then most sig word
    'f' second word of 32 bit value - if reg, then biggest reg. if mem
        then +2. if const then least sig word
-   'g' bcs if EQ, bcc if NE
    'j' print operand as condition code.
    'k' print operand as reverse condition code.
    's' print as low byte of 16 bit value
@@ -1029,9 +1023,6 @@ print_operand (file, x, code)
       else
        goto def;
       break;
-    case 'C':
-      fprintf (file, "#%d", INTVAL (x) - 2);
-      break;
     case 'E':
       switch (GET_CODE (x))
        {
@@ -1063,38 +1054,6 @@ print_operand (file, x, code)
        abort ();
       fprintf (file, "#%d", 0xff & (-INTVAL (x)));
       break;
-    case 'M':
-      /* For 3/-3 and 4/-4, the other 2 is handled separately.  */
-      switch (INTVAL (x))
-       {
-       case 2:
-       case 4:
-       case -2:
-       case -4:
-         fprintf (file, "#2");
-         break;
-       case 1:
-       case 3:
-       case -1:
-       case -3:
-         fprintf (file, "#1");
-         break;
-       default:
-         abort ();
-       }
-      break;
-    case 'P':
-      if (REGNO (XEXP (XEXP (x, 0), 0)) == STACK_POINTER_REGNUM)
-       {
-         last_p = "";
-         fprintf (file, ".w");
-       }
-      else
-       {
-         last_p = "l";
-         fprintf (file, ".b");
-       }
-      break;
     case 'S':
       if (GET_CODE (x) == REG)
        fprintf (file, "%s", names_extended[REGNO (x)]);
@@ -1158,35 +1117,6 @@ print_operand (file, x, code)
          break;
        }
       break;
-    case 'c':
-      switch (GET_CODE (x))
-       {
-       case IOR:
-         fprintf (file, "bior");
-         break;
-       case XOR:
-         fprintf (file, "bixor");
-         break;
-       case AND:
-         fprintf (file, "biand");
-         break;
-       default:
-         break;
-       }
-      break;
-    case 'd':
-      switch (GET_CODE (x))
-       {
-       case EQ:
-         fprintf (file, "bcc");
-         break;
-       case NE:
-         fprintf (file, "bcs");
-         break;
-       default:
-         abort ();
-       }
-      break;
     case 'e':
       switch (GET_CODE (x))
        {
@@ -1245,19 +1175,6 @@ print_operand (file, x, code)
          abort ();
        }
       break;
-    case 'g':
-      switch (GET_CODE (x))
-       {
-       case NE:
-         fprintf (file, "bcc");
-         break;
-       case EQ:
-         fprintf (file, "bcs");
-         break;
-       default:
-         abort ();
-       }
-      break;
     case 'j':
       asm_fprintf (file, cond_string (GET_CODE (x)));
       break;