aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-01-24 19:48:53 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-01-24 19:48:53 +0000
commit9bf25b09102dbb85b2d54b6ab1e8d8d7767fb540 (patch)
tree72c662648308e6dc206ba86f7ad64c636d450bd0
parent974af6a5941d2c858b6446eda1244605abfcb8ad (diff)
downloadgcc-9bf25b09102dbb85b2d54b6ab1e8d8d7767fb540.zip
gcc-9bf25b09102dbb85b2d54b6ab1e8d8d7767fb540.tar.gz
gcc-9bf25b09102dbb85b2d54b6ab1e8d8d7767fb540.tar.bz2
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/h8300/h8300.c7
-rw-r--r--gcc/config/h8300/h8300.md12
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 <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
operand character 'U'.
2002-01-24 Andris Pavenis <pavenis@latnet.lv>
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")