+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
\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
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))
{
(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")