rtl.c (copy_rtx): Handle 'T' format letter.
* rtl.c (copy_rtx): Handle 'T' format letter. * gensupport.c (collect_insn_data): Likewise. * print-rtl.c (print_rtx): Print 'T' slots like 's'. From-SVN: r43732
This commit is contained in:
parent
bf4eebe0c1
commit
3b32434036
|
@ -1,3 +1,9 @@
|
|||
2001-07-03 Zack Weinberg <zackw@stanford.edu>
|
||||
|
||||
* rtl.c (copy_rtx): Handle 'T' format letter.
|
||||
* gensupport.c (collect_insn_data): Likewise.
|
||||
* print-rtl.c (print_rtx): Print 'T' slots like 's'.
|
||||
|
||||
2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
|
||||
|
||||
* doc/invoke.texi (Directory Options): Specifiy range for <N> in
|
||||
|
|
|
@ -453,7 +453,7 @@ collect_insn_data (pattern, palt, pmax)
|
|||
collect_insn_data (XVECEXP (pattern, i, j), palt, pmax);
|
||||
break;
|
||||
|
||||
case 'i': case 'w': case '0': case 's': case 'S':
|
||||
case 'i': case 'w': case '0': case 's': case 'S': case 'T':
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
@ -163,16 +163,25 @@ print_rtx (in_rtx)
|
|||
for (; i < GET_RTX_LENGTH (GET_CODE (in_rtx)); i++)
|
||||
switch (*format_ptr++)
|
||||
{
|
||||
const char *str;
|
||||
|
||||
case 'T':
|
||||
str = XTMPL (in_rtx, i);
|
||||
goto string;
|
||||
|
||||
case 'S':
|
||||
case 's':
|
||||
if (XSTR (in_rtx, i) == 0)
|
||||
str = XSTR (in_rtx, i);
|
||||
string:
|
||||
|
||||
if (str == 0)
|
||||
fputs (dump_for_graph ? " \\\"\\\"" : " \"\"", outfile);
|
||||
else
|
||||
{
|
||||
if (dump_for_graph)
|
||||
fprintf (outfile, " (\\\"%s\\\")", XSTR (in_rtx, i));
|
||||
fprintf (outfile, " (\\\"%s\\\")", str);
|
||||
else
|
||||
fprintf (outfile, " (\"%s\")", XSTR (in_rtx, i));
|
||||
fprintf (outfile, " (\"%s\")", str);
|
||||
}
|
||||
sawclose = 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue