h8300.c (print_operand): Remove support for operand character 'b'.
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 11 Jun 2003 03:19:55 +0000 (03:19 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 11 Jun 2003 03:19:55 +0000 (03:19 +0000)
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'b'.
Add the AND case to operand character 'c'.
* config/h8300/h8300.md (two anonymous patterns): Replace
operand character 'b' with 'c'.

From-SVN: r67748

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

index cd55e8e0693e453522968fbc4e0b81c47fd7d988..50359950355cc8f9b4a55c5339d318bc2dbbbbf3 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-10  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (print_operand): Remove support for
+       operand character 'b'.
+       Add the AND case to operand character 'c'.
+       * config/h8300/h8300.md (two anonymous patterns): Replace
+       operand character 'b' with 'c'.
+
 2003-06-10  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.c (print_operand): Remove support for
index ed7afcd2952ee24e5596baf116ca3e7e285644d5..76779e2bb77a4d4b910c33496a6d90e3647ee59b 100644 (file)
@@ -1235,7 +1235,6 @@ h8300_rtx_costs (x, code, outer_code, total)
    'Y' print either l or h depending on whether last 'Z' operand < 8 or >= 8.
        If this operand isn't a register, fall back to 'R' handling.
    'Z' print int & 7.
-   'b' print the bit opcode
    'c' print the opcode corresponding to rtl
    'e' first word of 32 bit value - if reg, then least reg. if mem
        then least. if const then most sig word
@@ -1373,22 +1372,6 @@ print_operand (file, x, code)
       bitint = INTVAL (x);
       fprintf (file, "#%d", bitint & 7);
       break;
-    case 'b':
-      switch (GET_CODE (x))
-       {
-       case IOR:
-         fprintf (file, "bor");
-         break;
-       case XOR:
-         fprintf (file, "bxor");
-         break;
-       case AND:
-         fprintf (file, "band");
-         break;
-       default:
-         break;
-       }
-      break;
     case 'c':
       switch (GET_CODE (x))
        {
@@ -1398,6 +1381,9 @@ print_operand (file, x, code)
        case XOR:
          fprintf (file, "xor");
          break;
+       case AND:
+         fprintf (file, "and");
+         break;
        default:
          break;
        }