Commit 9bf25b09 by Kazu Hirata Committed by Kazu Hirata

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
parent 974af6a5
2002-01-24 Kazu Hirata <kazu@hxi.com> 2002-01-24 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c (print_operand): Remove support for * 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'. operand character 'U'.
2002-01-24 Andris Pavenis <pavenis@latnet.lv> 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
......
...@@ -927,7 +927,6 @@ const_costs (r, c) ...@@ -927,7 +927,6 @@ const_costs (r, c)
/* Documentation for the machine specific operand escapes: /* Documentation for the machine specific operand escapes:
'A' print rn in H8/300 mode, erN in H8/300H mode
'E' like s but negative. 'E' like s but negative.
'F' like t but negative. 'F' like t but negative.
'G' constant just the negative 'G' constant just the negative
...@@ -1003,12 +1002,6 @@ print_operand (file, x, code) ...@@ -1003,12 +1002,6 @@ print_operand (file, x, code)
switch (code) switch (code)
{ {
case 'A':
if (GET_CODE (x) == REG)
fprintf (file, "%s", h8_reg_names[REGNO (x)]);
else
goto def;
break;
case 'E': case 'E':
switch (GET_CODE (x)) switch (GET_CODE (x))
{ {
......
...@@ -700,8 +700,8 @@ ...@@ -700,8 +700,8 @@
(match_operand:HI 2 "nonmemory_operand" "L,N,n,r,r")))] (match_operand:HI 2 "nonmemory_operand" "L,N,n,r,r")))]
"TARGET_H8300" "TARGET_H8300"
"@ "@
adds %2,%A0 adds %2,%T0
subs %G2,%A0 subs %G2,%T0
add.b %s2,%s0\;addx %t2,%t0 add.b %s2,%s0\;addx %t2,%t0
add.w %T2,%T0 add.w %T2,%T0
mov.w %T1,%T0\;add.w %T2,%T0" mov.w %T1,%T0\;add.w %T2,%T0"
...@@ -714,8 +714,8 @@ ...@@ -714,8 +714,8 @@
(match_operand:HI 2 "nonmemory_operand" "L,N,n,r")))] (match_operand:HI 2 "nonmemory_operand" "L,N,n,r")))]
"TARGET_H8300H || TARGET_H8300S" "TARGET_H8300H || TARGET_H8300S"
"@ "@
adds %2,%A0 adds %2,%S0
subs %G2,%A0 subs %G2,%S0
add.w %T2,%T0 add.w %T2,%T0
add.w %T2,%T0" add.w %T2,%T0"
[(set_attr "length" "2,2,4,2") [(set_attr "length" "2,2,4,2")
...@@ -754,8 +754,8 @@ ...@@ -754,8 +754,8 @@
(match_operand:SI 2 "nonmemory_operand" "L,N,i,r")))] (match_operand:SI 2 "nonmemory_operand" "L,N,i,r")))]
"TARGET_H8300H || TARGET_H8300S" "TARGET_H8300H || TARGET_H8300S"
"@ "@
adds %2,%A0 adds %2,%S0
subs %G2,%A0 subs %G2,%S0
add.l %S2,%S0 add.l %S2,%S0
add.l %S2,%S0" add.l %S2,%S0"
[(set_attr "length" "2,2,6,2") [(set_attr "length" "2,2,6,2")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment