diff options
author | Nick Clifton <nickc@cygnus.com> | 1998-12-07 11:45:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1998-12-07 11:45:49 +0000 |
commit | 1db9f6ceae87ca6417ef1d64a66d27d4c9355a06 (patch) | |
tree | 695a115be26d3ec1b3aeacc2141a1dbfb52eb829 /gcc/final.c | |
parent | eb6a3bc0b4352f75de5b24de65f120c2ab6894ec (diff) | |
download | gcc-1db9f6ceae87ca6417ef1d64a66d27d4c9355a06.zip gcc-1db9f6ceae87ca6417ef1d64a66d27d4c9355a06.tar.gz gcc-1db9f6ceae87ca6417ef1d64a66d27d4c9355a06.tar.bz2 |
Improve -dp output by using tabs and including instruciton lengths
From-SVN: r24149
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c index 32ed6fb..066b621 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -3337,11 +3337,13 @@ output_asm_name () if (debug_insn) { register int num = INSN_CODE (debug_insn); - fprintf (asm_out_file, " %s %d %s", + fprintf (asm_out_file, "\t%s %d\t%s", ASM_COMMENT_START, INSN_UID (debug_insn), insn_name[num]); if (insn_n_alternatives[num] > 1) fprintf (asm_out_file, "/%d", which_alternative + 1); - +#ifdef HAVE_ATTR_length + fprintf (asm_out_file, "\t[length = %d]", get_attr_length (debug_insn)); +#endif /* Clear this so only the first assembler insn of any rtl insn will get the special comment for -dp. */ debug_insn = 0; |