h8300.c (print_operand): Remove support for operand character 'A'.
authorKazu Hirata <kazu@hxi.com>
Thu, 24 Jan 2002 19:48:53 +0000 (19:48 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 24 Jan 2002 19:48:53 +0000 (19:48 +0000)
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'A'.
* config/h8300/h8300.md (three anonymous patterns): Replace
operand character 'A' with either 'T' or 'S'.

From-SVN: r49188

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

index 0d6baffdd8810d1fb728750c8b705a1fa45fc36d..eca7673556627e6a6e4e0a567ba1ed63b588b97d 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-24  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.c (print_operand): Remove support for
+       operand character 'A'.
+       * config/h8300/h8300.md (three anonymous patterns): Replace
+       operand character 'A' with either 'T' or 'S'.
+
 2002-01-24  Kazu Hirata  <kazu@hxi.com>
 
        * config/h8300/h8300.c (print_operand): Remove support for
index af1cad80e047be460170045c5287a0a9485f9a64..87d2ef4e68b4b8a0d9b406982cbcfc492a555159 100644 (file)
@@ -927,7 +927,6 @@ const_costs (r, c)
 \f
 /* Documentation for the machine specific operand escapes:
 
-   'A' print rn in H8/300 mode, erN in H8/300H mode
    'E' like s but negative.
    'F' like t but negative.
    'G' constant just the negative
@@ -1003,12 +1002,6 @@ print_operand (file, x, code)
 
   switch (code)
     {
-    case 'A':
-      if (GET_CODE (x) == REG)
-       fprintf (file, "%s", h8_reg_names[REGNO (x)]);
-      else
-       goto def;
-      break;
     case 'E':
       switch (GET_CODE (x))
        {
index d4937bf5ee3ab039875288d6b5732eb7cfcabdbd..e310ef7de314ef3e8313c0f466dc2d50ba069c34 100644 (file)
                 (match_operand:HI 2 "nonmemory_operand" "L,N,n,r,r")))]
   "TARGET_H8300"
   "@
-   adds        %2,%A0
-   subs        %G2,%A0
+   adds        %2,%T0
+   subs        %G2,%T0
    add.b       %s2,%s0\;addx   %t2,%t0
    add.w       %T2,%T0
    mov.w       %T1,%T0\;add.w  %T2,%T0"
                 (match_operand:HI 2 "nonmemory_operand" "L,N,n,r")))]
   "TARGET_H8300H || TARGET_H8300S"
   "@
-   adds        %2,%A0
-   subs        %G2,%A0
+   adds        %2,%S0
+   subs        %G2,%S0
    add.w       %T2,%T0
    add.w       %T2,%T0"
   [(set_attr "length" "2,2,4,2")
                 (match_operand:SI 2 "nonmemory_operand" "L,N,i,r")))]
   "TARGET_H8300H || TARGET_H8300S"
   "@
-   adds        %2,%A0
-   subs        %G2,%A0
+   adds        %2,%S0
+   subs        %G2,%S0
    add.l       %S2,%S0
    add.l       %S2,%S0"
   [(set_attr "length" "2,2,6,2")