From 9bf25b09102dbb85b2d54b6ab1e8d8d7767fb540 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 24 Jan 2002 19:48:53 +0000 Subject: [PATCH] h8300.c (print_operand): Remove support for operand character 'A'. * 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 | 7 +++++++ gcc/config/h8300/h8300.c | 7 ------- gcc/config/h8300/h8300.md | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d6baff..eca7673 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,13 @@ 2002-01-24 Kazu Hirata * 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 + + * config/h8300/h8300.c (print_operand): Remove support for operand character 'U'. 2002-01-24 Andris Pavenis diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index af1cad8..87d2ef4 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -927,7 +927,6 @@ const_costs (r, c) /* 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)) { diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index d4937bf..e310ef7 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -700,8 +700,8 @@ (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" @@ -714,8 +714,8 @@ (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") @@ -754,8 +754,8 @@ (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") -- 2.7.4